File indexing completed on 2025-01-29 09:12:52
0001
0002
0003 if test -e /etc/centos-release && grep 'CentOS Linux release 7' /etc/centos-release; then
0004 lcg_os=centos7
0005 elif test -e /etc/centos-release && grep 'CentOS Stream release 8' /etc/centos-release; then
0006 lcg_os=centos8
0007
0008 elif test -e /etc/redhat-release && grep 'Linux release 9' /etc/redhat-release; then
0009 lcg_os=el9
0010 else
0011 echo "Unsupported system" 1>&2
0012 return
0013 fi
0014
0015 lcg_release=LCG_105
0016 lcg_compiler=gcc13
0017 lcg_platform=x86_64-${lcg_os}-${lcg_compiler}-opt
0018 lcg_view=/cvmfs/sft.cern.ch/lcg/views/${lcg_release}/${lcg_platform}
0019
0020 source ${lcg_view}/setup.sh
0021
0022 export DD4hep_DIR=${lcg_view}