File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,12 @@ echo "Setting environment variable SPACK_STACK_DIR to ${SPACK_STACK_DIR}"
77
88source ${SPACK_STACK_DIR:? } /spack/share/spack/setup-env.sh
99echo " Sourcing spack environment ${SPACK_STACK_DIR} /spack/share/spack/setup-env.sh"
10+ # Avoid using ~/.spack direcory for caching, bootstrap, etc.
1011if [ " $( uname) " != " Darwin" ]; then
1112 export SPACK_USER_CACHE_PATH=$SPACK_ROOT /user_cache
1213fi
13-
14- # Apply NCO-specific tweaks to make spack-stack installations more self contained.
15- if [[ " $* " =~ " --nco " ]]; then
16- export SPACK_DISABLE_LOCAL_CONFIG=1
17- echo " Changing bootstrap path to $( spack bootstrap root ' $spack/bootstrap' ) "
18- fi
14+ export SPACK_DISABLE_LOCAL_CONFIG=1
15+ echo " Changing bootstrap path to $( spack bootstrap root ' $spack/bootstrap' ) "
1916
2017# Get the current hash of the spack-stack code
2118export SPACK_STACK_HASH=` git rev-parse --short HEAD`
You can’t perform that action at this time.
0 commit comments