File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,20 @@ set -euo pipefail
7575# Configure Spack defaults, repositories, and external toolchain metadata
7676. /spack/share/spack/setup-env.sh
7777
78- spack --timestamp repo add https://github.com/FNALssi/fnal_art.git
79- spack --timestamp repo add https://github.com/Framework-R-D/phlex-spack-recipes.git
78+ SPACK_REPO_ROOT=/opt/spack-repos
79+ rm -rf "$SPACK_REPO_ROOT/fnal_art" "$SPACK_REPO_ROOT/phlex-spack-recipes"
80+ mkdir -p "$SPACK_REPO_ROOT"
81+ git clone --depth=1 https://github.com/FNALssi/fnal_art.git "$SPACK_REPO_ROOT/fnal_art"
82+ git clone --depth=1 https://github.com/Framework-R-D/phlex-spack-recipes.git "$SPACK_REPO_ROOT/phlex-spack-recipes"
83+ chgrp -R spack "$SPACK_REPO_ROOT"
84+ chmod -R g+rwX "$SPACK_REPO_ROOT"
85+ find "$SPACK_REPO_ROOT" -type d -exec chmod g+s {} +
86+
87+ spack --timestamp repo remove phlex >/dev/null 2>&1 || true
88+ spack --timestamp repo remove fnal_art >/dev/null 2>&1 || true
89+ spack --timestamp repo add --scope site /opt/spack-repos/phlex-spack-recipes/spack_repo/phlex
90+ spack --timestamp repo add --scope site /opt/spack-repos/fnal_art/spack_repo/fnal_art
91+ spack --timestamp repo set --scope site --destination /spack/var/spack/repos/builtin builtin
8092
8193spack --timestamp compiler find
8294spack --timestamp external find --exclude python
You can’t perform that action at this time.
0 commit comments