Skip to content

Commit 4c66169

Browse files
authored
export SPACKENV [deception-rebuild]
1 parent 0b94a69 commit 4c66169

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildsystem/spack/configure_modules.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo $SPACKENV
1414

1515
# This assumes that we are installing from a binary mirror, and don't want to fetch files
1616
# Make sure to use binary_mirror.sh if this is failing
17-
spack install -j $1 && \
17+
spack -e $SPACKENV install -j $1 && \
1818

1919
# This deletes the previous modules that are installed
2020
# Either use a different module path than other users, or deal with frequent updates

buildsystem/spack/load_spack.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ source $base/env.sh &&
4848
source ./tpl/spack/share/spack/setup-env.sh &&
4949

5050
# Create directory for environment
51-
SPACKENV=$(pwd)/spack-env-$MY_CLUSTER &&
51+
export SPACKENV=$(pwd)/spack-env-$MY_CLUSTER &&
5252
mkdir -p $SPACKENV &&
5353
# Remove old config if present
5454
(rm -f $SPACKENV/spack.yaml || true) &&

0 commit comments

Comments
 (0)