Skip to content

Commit

Permalink
Merge branch 'main' into gmarchio-main-20240222
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannimarchiori authored Feb 28, 2024
2 parents 3c4bdac + 3085a54 commit 827f514
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 42 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/build-and-test.yaml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/key4hep-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Key4hep build

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
strategy:
matrix:
build_type: ["release", "nightly"]
image: ["alma9", "ubuntu22", "centos7"]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: key4hep/key4hep-actions/key4hep-build@main
with:
build_type: ${{ matrix.build_type }}
image: ${{ matrix.image }}
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,33 @@
# k4RecCalorimeter - Key4hep Framework Components for Calorimeter Reconstruction


## Dependencies

All dependencies can be set up from the Key4hep nightly builds (on lxplus / Centos7 machines with CVMFS)
The components are available from the Key4hep stack on machines with CVMFS.

```
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
```

## Dependencies

* Gaudi
* ROOT
* EDM4HEP
* k4FWCore
* DD4hep
* k4geo

* ONNXRuntime


## Building

After fetching the repository, do
```
source /cvmfs/sw.hsf.org/key4hep/setup.sh
mkdir build install
cd build
cmake -DCMAKE_INSTALL_PREFIX=install ..
make -j4
make install
cd ..
k4_local_repo # will update all necessary environment variables
```

0 comments on commit 827f514

Please sign in to comment.