Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for afterburner #117

Merged
merged 2 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading