Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:30:55

0001 #!/bin/bash
0002 # -----------------------------------------------------------------------------
0003 # 'eic-build'
0004 # Derek Anderson
0005 # 03.30.2023
0006 #
0007 # A simple script to build EICrecon,
0008 # a JANA plugin, or epic
0009 # -----------------------------------------------------------------------------
0010 
0011 if [ -z "$1" ]; then
0012   cmake -S . -B build
0013   cmake --build build --target install -- -j8
0014   source bin/eicrecon-this.sh
0015 elif [ "$1" == "epic" ]; then
0016   cmake -B build -S . -DCMAKE_INSTALL_PREFIX=install
0017   cmake --build build
0018   cmake --install build
0019   source install/setup.sh
0020 else
0021   cmake -S $1 -B $1/build
0022   cmake --build $1/build --target install -- -j8
0023 fi
0024 
0025 # end -------------------------------------------------------------------------