Skip to content

Commit

Permalink
Added support for afterburner (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkauder authored Dec 13, 2023
1 parent 6e53b00 commit 5742e8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ reconstruction_benchmarks
NPDet
DD4hep
Catch2
afterburner

juggler
ip6
Expand All @@ -46,3 +47,4 @@ hepmc
.ruby-version
Gemfile.lock
tags
.DS_Store
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export CMAKE_PREFIX_PATH=$prefix:$CMAKE_PREFIX_PATH
# module-specific options and preparation
genOpts=""
function genOpt() { genOpts+="-D$* "; }
sourcepath=$module
case $module in
EDM4eic)
genOpt BUILD_DATA_MODEL=ON
Expand Down Expand Up @@ -118,6 +119,10 @@ case $module in
;;
Catch2)
;;
afterburner)
sourcepath=$module/cpp
genOpt HEPMC3_ROOTIO=ON
;;
esac

########################################
Expand All @@ -127,7 +132,7 @@ esac
genOpt CMAKE_INSTALL_PREFIX=$prefix
genOpts+=$extraOpts
buildSys=$module/build
cmakeGen="cmake -S $module -B $buildSys $genOpts"
cmakeGen="cmake -S $sourcepath -B $buildSys $genOpts"

# set build command
buildOpts="-j $nproc"
Expand Down

0 comments on commit 5742e8e

Please sign in to comment.