Skip to content

Commit 49a7348

Browse files
committed
try something to fix the build cache misses
1 parent a895728 commit 49a7348

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

outputs/init_spack.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
#!/bin/bash
1+
#!/bin/sh
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)