File indexing completed on 2025-01-17 09:02:39
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 source /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/setup.sh
0011
0012 STRING=$(env LC_CTYPE=C tr -dc "a-zA-Z0-9-_\$\?" < /dev/urandom | head -c 4)
0013
0014 mkdir build_${STRING}
0015 cd build_${STRING}
0016 if [ "$(uname)" == "Darwin" ]; then
0017 cmake -GNinja -D DD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -D DD4HEP_USE_LCIO=ON -D BUILD_TESTING=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=Release -DROOT_DIR=$ROOTSYS ..
0018 else
0019 cmake -GNinja -D DD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -D DD4HEP_USE_LCIO=ON -D BUILD_TESTING=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=Release -DROOT_DIR=$ROOTSYS ..
0020 fi
0021 ninja
0022 ninja install
0023 source ../bin/thisdd4hep.sh
0024 ctest --output-on-failure -j4
0025 cd ../examples/
0026 mkdir build_${STRING}
0027 cd build_${STRING}
0028 cmake -GNinja ..
0029 ninja
0030 ninja install
0031 ctest --output-on-failure