Skip to content

Commit

Permalink
Update init-env.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
WuK authored Feb 13, 2024
1 parent 9e555e5 commit 2d4a4c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions share/sysu-scc-spack-repo/init-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ python3 -c "from tarfile import open;from urllib.request import urlopen;open(mod
mv $(dirname $SCC_SETUP_ENV)/../../../spack-$1/spack-* $(dirname $SCC_SETUP_ENV)/../../../spack
rm -rf $(dirname $SCC_SETUP_ENV)/../../../spack-$1
. $SCC_SETUP_ENV
spack mirror add $1 https://binaries.spack.io/$1
spack mirror add E4S https://cache.e4s.io
spack mirror add $1 s3://spack-binaries/$1
spack buildcache keys --install --trust
spack buildcache update-index $1
spack buildcache update-index E4S
spack repo add --scope=site $(dirname $SCC_SETUP_ENV)/../..
spack compiler add --scope=site

0 comments on commit 2d4a4c3

Please sign in to comment.