We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a895728 commit 4935f29Copy full SHA for 4935f29
outputs/init_spack.sh
@@ -1,10 +1,13 @@
1
#!/bin/bash
2
3
if [ ! -d ~/spack ]; then
4
- git clone --quiet "--branch=$tutorial_branch" --depth=100 https://github.com/spack/spack ~/spack
+ 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")
7
fi
8
9
cd ~/spack || exit
10
. share/spack/setup-env.sh
11
+spack repo set --destination ~/spack-packages --scope defaults builtin
12
# spack tutorial -y
13
spack bootstrap now
0 commit comments