-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update CVMFS/LCG setup scripts (#1314)
Removes LCG97 and 98 setup scripts in favor of 100 & 101. Also updates the scripts to run on CentOS Stream 8
- Loading branch information
1 parent
55b8ce6
commit 9f03bc9
Showing
3 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
# setup appropriate LCG 98 release via cvmfs | ||
# setup appropriate LCG 100 release via cvmfs | ||
|
||
if test -e /etc/centos-release && grep 'CentOS Linux release 7' /etc/centos-release; then | ||
lcg_os=centos7 | ||
elif test -e /etc/centos-release && grep 'CentOS Stream release 8' /etc/centos-release; then | ||
lcg_os=centos8 | ||
else | ||
echo "Unsupported system" 1>&2 | ||
return | ||
fi | ||
|
||
lcg_release=LCG_98python3 | ||
lcg_release=LCG_100 | ||
lcg_compiler=gcc10-opt | ||
lcg_platform=x86_64-${lcg_os}-${lcg_compiler} | ||
lcg_view=/cvmfs/sft.cern.ch/lcg/views/${lcg_release}/${lcg_platform} | ||
|
||
source ${lcg_view}/setup.sh | ||
# extra variables required to build acts | ||
export DD4hep_DIR=${lcg_view} | ||
export DD4hep_DIR=${lcg_view} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
# setup appropriate LCG 97 release via cvmfs | ||
# setup appropriate LCG 101 release via cvmfs | ||
|
||
if test -e /etc/centos-release && grep 'CentOS Linux release 7' /etc/centos-release; then | ||
lcg_os=centos7 | ||
elif test -e /etc/centos-release && grep 'CentOS Stream release 8' /etc/centos-release; then | ||
lcg_os=centos8 | ||
else | ||
echo "Unsupported system" 1>&2 | ||
return | ||
fi | ||
|
||
lcg_release=LCG_97apython3 | ||
lcg_compiler=gcc9-opt | ||
lcg_release=LCG_101 | ||
lcg_compiler=gcc11-opt | ||
lcg_platform=x86_64-${lcg_os}-${lcg_compiler} | ||
lcg_view=/cvmfs/sft.cern.ch/lcg/views/${lcg_release}/${lcg_platform} | ||
|
||
source ${lcg_view}/setup.sh | ||
# extra variables required to build acts | ||
export DD4hep_DIR=${lcg_view} | ||
export DD4hep_DIR=${lcg_view} |