-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure a setup script in the install directory
- Loading branch information
1 parent
e9e275a
commit a79fb67
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
set -e | ||
set -u | ||
|
||
function add_dep() { | ||
pkg=$1 | ||
ver=$2 | ||
export CMAKE_PREFIX_PATH="@CMAKE_INSTALL_PREFIX@/$pkg/$ver:$CMAKE_PREFIX_PATH" | ||
} | ||
|
||
add_dep python @PYTHON_VERSION@ | ||
add_dep tbb @TBB_VERSION@ | ||
add_dep geant4 @GEANT4_VERSION@ | ||
add_dep hepmc3 @HEPMC3_VERSION@ | ||
add_dep pythia8 @PYTHIA8_VERSION@ | ||
add_dep nlohmann_json @JSON_VERSION@ | ||
add_dep root @ROOT_VERSION@ | ||
add_dep podio @PODIO_VERSION@ | ||
add_dep edm4hep @EDM4HEP_VERSION@ | ||
add_dep dd4hep @DD4HEP_VERSION@ | ||
add_dep boost @BOOST_VERSION@ | ||
add_dep eigen @EIGEN_VERSION@ |