Skip to content

Commit 4935f29

Browse files
committed
try something to fix the build cache misses
1 parent a895728 commit 4935f29

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

outputs/init_spack.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#!/bin/bash
22

33
if [ ! -d ~/spack ]; then
4-
git clone --quiet "--branch=$tutorial_branch" --depth=100 https://github.com/spack/spack ~/spack
4+
git clone --quiet --branch="$tutorial_branch" --depth=100 https://github.com/spack/spack ~/spack
5+
git clone --quiet https://github.com/spack/spack-packages ~/spack-packages
6+
(cd ~/spack-packages || exit; git checkout -d "$packages_release")
57
fi
68

79
cd ~/spack || exit
810
. share/spack/setup-env.sh
11+
spack repo set --destination ~/spack-packages --scope defaults builtin
912
# spack tutorial -y
1013
spack bootstrap now

0 commit comments

Comments
 (0)