Import Geant4 3.2.0 source tree
This commit is contained in:
@@ -12,18 +12,50 @@
|
||||
|
||||
setenv G4USE_HEPODBMS 1
|
||||
|
||||
# ----- Objectivity variables setup
|
||||
# ----- LHCXX related variables
|
||||
|
||||
if ( ! $?OBJY_VERS ) then
|
||||
setenv OBJY_VERS 5.1
|
||||
if( ! $?LHCXXTOP ) then
|
||||
setenv LHCXXTOP /afs/cern.ch/sw/lhcxx
|
||||
endif
|
||||
|
||||
if ( -r /afs/cern.ch/rd45/objectivity/objyenv.csh ) then
|
||||
echo "Setting up OBJY_VERS $OBJY_VERS ..."
|
||||
source /afs/cern.ch/rd45/objectivity/objyenv.csh
|
||||
endif
|
||||
switch ($G4SYSTEM)
|
||||
case SUN-CC5:
|
||||
setenv PLATF sol7
|
||||
setenv CC_COMP CC-5.2
|
||||
setenv OBJY_VERS 6.1.3
|
||||
setenv HEP_ODBMS_VER 0.3.2.10
|
||||
breaksw
|
||||
case Linux-g++:
|
||||
setenv PLATF @sys
|
||||
setenv CC_COMP gcc-2.95.2
|
||||
setenv OBJY_VERS 6.0
|
||||
setenv HEP_ODBMS_VER 0.3.2.3
|
||||
breaksw
|
||||
default:
|
||||
echo "Objectivity and HepODBMS versions not specified for G4SYSTEM = $G4SYSTEM."
|
||||
breaksw
|
||||
endsw
|
||||
|
||||
if(! $?CC_COMP )then
|
||||
setenv CC_COMP ""
|
||||
else
|
||||
if( "x${CC_COMP}" != "x" ) then
|
||||
setenv CC_COMP ${CC_COMP}/
|
||||
endif
|
||||
endif
|
||||
|
||||
# ----- HepODBMS variables setup
|
||||
|
||||
setenv HEP_ODBMS_DIR /afs/cern.ch/sw/lhcxx/specific/@sys/HepODBMS/0.3.0.1
|
||||
setenv HEP_ODBMS_DIR $LHCXXTOP/specific/$PLATF/${CC_COMP}HepODBMS/${HEP_ODBMS_VER}
|
||||
setenv HEP_ODBMS_INCLUDES ${HEP_ODBMS_DIR}/include
|
||||
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$HEP_ODBMS_DIR/lib
|
||||
|
||||
# ----- Objectivity variables setup
|
||||
|
||||
if ( -r /afs/cern.ch/rd45/objectivity/objyenv.csh ) then
|
||||
setenv OBJY_DIR $LHCXXTOP/specific/$PLATF/${CC_COMP}Objectivity/${OBJY_VERS}
|
||||
source /afs/cern.ch/rd45/objectivity/objyenv.csh
|
||||
else
|
||||
echo "/afs/cern.ch/rd45/objectivity/objyenv.csh not found!"
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user