Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:13:13

0001 #!/bin/bash
0002 # -----------------------------------------------------------------------------
0003 # 'sphx-build'
0004 # Derek Anderson
0005 # 08.09.2023
0006 #
0007 # A simple script to build an
0008 # sPHENIX module
0009 # -----------------------------------------------------------------------------
0010 
0011 if [ -z "$1" ]; then
0012   cd build
0013   ../autogen.sh --prefix=$MYINSTALL
0014   make -j 4
0015   make install
0016   /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0017 elif [ "$1" == "-r" ]; then
0018   cd build
0019   make -j 4
0020   make install
0021   /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0022 elif [ "$1" == "--rebuild" ]; then
0023   cd build
0024   make -j 4
0025   make install
0026   /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
0027 fi
0028 
0029 # end -------------------------------------------------------------------------