File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ project="$(dirname "$0")"
1010export SPACK_COLOR=never
1111
1212# basic installation
13- example basics/clone " git clone --depth=2 --branch=$tutorial_branch https://github.com/spack/spack.git ~/spack"
13+ example basics/clone " git clone --depth=100 --branch=$tutorial_branch https://github.com/spack/spack.git ~/spack"
1414example basics/clone " cd ~/spack"
1515
1616cd ~ /spack || exit
17+ git checkout -d " $tutorial_version " # force v1.0.0 because a potential regression in v1.0.1
1718export SPACK_ROOT=~ /spack
1819
1920. share/spack/setup-env.sh
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ raw_outputs="${PROJECT}/raw"
1515
1616# used by scripts
1717tutorial_branch=releases/v1.0
18+ tutorial_version=v1.0.0
1819packages_release=v2025.07.0
1920
2021print_status () {
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ if [ ! -d ~/spack ]; then
55fi
66
77cd ~ /spack || exit
8+ git checkout -d " $tutorial_version "
89. share/spack/setup-env.sh
910# spack tutorial -y
1011spack bootstrap now
You can’t perform that action at this time.
0 commit comments