Skip to content

Commit f86b2b5

Browse files
altsybeesawenzel
andauthored
Compile ACTS with GEANT4 flags=ON (#5048)
* Compile with GEANT4 flags=ON * Add ninja flag * GEANT4 is also run-time requirement - not only build requirement * specify explicitly where to search for Geant4 --------- Co-authored-by: Sandro Wenzel <[email protected]>
1 parent 77d4682 commit f86b2b5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

acts.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ version: "v23.5.0-alice"
33
requires:
44
- ROOT
55
- pythia
6+
- GEANT4
67
build_requires:
78
- "GCC-Toolchain:(?!osx)"
89
- CMake
910
- boost
1011
- Eigen3
1112
- alibuild-recipe-tools
13+
- ninja
1214
source: https://github.com/AliceO2Group/acts.git
1315
---
1416
#!/bin/bash -ex
@@ -20,8 +22,12 @@ cmake $SOURCEDIR -DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
2022
-DACTS_BUILD_EXAMPLES_PYTHON_BINDINGS=ON \
2123
-DACTS_BUILD_ANALYSIS_APPS=ON \
2224
-DACTS_BUILD_EXAMPLES_PYTHIA8=ON \
23-
-DCMAKE_PREFIX_PATH=${PYTHIA_ROOT}
24-
25+
-DCMAKE_PREFIX_PATH=${PYTHIA_ROOT} \
26+
-DACTS_BUILD_PLUGIN_GEANT4=ON \
27+
-DACTS_BUILD_FATRAS_GEANT4=ON \
28+
-DACTS_BUILD_EXAMPLES_GEANT4=ON \
29+
-DGeant4_DIR=${GEANT4_ROOT}/lib \
30+
-G Ninja
2531

2632
cmake --build . -- ${JOBS:+-j$JOBS} install
2733

0 commit comments

Comments
 (0)