forked from HEP-FCC/FCCSW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sh
executable file
·26 lines (23 loc) · 973 Bytes
/
init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh -u
if [[ "x$GAUDI" == "x" ]]; then
echo "Need to set the GAUDI environment variable to the path of the Gaudi software directory (contains GaudiKernel/)."
return 1
else
echo "Gaudi : $GAUDI"
fi
if [[ "x$FCCBASE" == "x" ]]; then
echo "Need to set the FCCBASE environment variable to root path of the software (contains both Gaudi and the FCC software)."
return 1
else
echo "FCC root: $FCCBASE"
fi
# set up CMake:
export PATH=/afs/cern.ch/sw/lcg/contrib/CMake/2.8.12.2/Linux-i386/bin:$PATH
#export CMAKEFLAGS='-DCMAKE_USE_CCACHE=ON'
export CMAKE_PREFIX_PATH=$GAUDI/cmake:$FCCBASE:/afs/cern.ch/sw/lcg/releases
export CMTCONFIG=x86_64-slc6-gcc48-opt
# set up the compilers
export PATH=/afs/cern.ch/lhcb/software/releases/LBSCRIPTS/LBSCRIPTS_v8r0/InstallArea/scripts:$PATH
#export LCG_hostos=x86_64-slc6
#export LCG_external_area=/afs/cern.ch/sw/lcg/external
#export PATH=/afs/cern.ch/sw/lcg/contrib/ninja/1.4.0/x86_64-slc6:$PATH