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 a8b0ff4 commit 86cf7b0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions share/sysu-scc-spack-repo/init-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ 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 binaries-spack-io-$1 https://binaries.spack.io/$1
spack mirror add binaries-spack-io https://binaries.spack.io/$1
spack buildcache update-index binaries-spack-io
spack mirror add E4S https://cache.e4s.io

spack buildcache update-index --help
echo ">>> _ <<<"
spack buildcache update-index ./spack-cache
spack buildcache update-index E4s

spack buildcache keys --install --trust
spack compiler add --scope=site
Expand Down

0 comments on commit 86cf7b0

Please sign in to comment.