Skip to content

Commit dc6c5d4

Browse files
authored
run each spack command with -e instead of activating the env [deception-rebuild]
1 parent 5ef83ae commit dc6c5d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildsystem/spack/load_spack.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ source $base/env.sh &&
5656

5757
# Use a directory based environment, and decorate command line
5858
spack env create -d $SPACKENV $base/spack.yaml &&
59-
spack env activate -p $SPACKENV &&
59+
#spack env activate -p $SPACKENV &&
6060

6161
# Print relevant spack config for sanity check of environment.
6262
echo "spack configuration will be installed into $SPACK_INSTALL" &&
@@ -67,5 +67,5 @@ source $base/env.sh &&
6767

6868
# Print config if configured successfully
6969
if [ $? -eq 0 ] && [ "$1" = "-v" ]; then
70-
spack config get config
70+
spack -e $SPACKENV config get config
7171
fi

0 commit comments

Comments
 (0)