Last active
March 10, 2017 10:22
-
-
Save janmayer/3fcdb2f3bf9fbf43d5ec4b41604f12ee to your computer and use it in GitHub Desktop.
Build R3BRoot
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
#!/bin/bash | |
export BASEPATH=/data/jmayer/Simulations/2017-03-08 | |
# requires FairSoft installation in ${BASEPATH}/FairSoft | |
export SIMPATH=${BASEPATH}/FairSoft | |
. ${SIMPATH}/share/Geant4/geant4make/geant4make.sh | |
. ${SIMPATH}/bin/thisroot.sh | |
# requires FairRoot installation in ${BASEPATH}/FairRoot | |
export FAIRROOTPATH=${BASEPATH}/FairRoot | |
# requires UCESB in ${BASEPATH}/ucesb and UPEXPS in ${BASEPATH}/upexps | |
export UCESB_DIR=${BASEPATH}/ucesb | |
mkdir -p build | |
cd build | |
${SIMPATH}/bin/cmake .. -DUSE_DIFFERENT_COMPILER=TRUE -DROOT_DIR=${SIMPATH} -DGEANT4_DIR=${SIMPATH} | |
make -j30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment