From d4532cf3bd00ace62617b66a318facbc3eae3241 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Fri, 16 Feb 2024 10:29:24 -0800 Subject: [PATCH 1/3] No more bootstrap/cache in ~/.spack --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index 2307409f0..37c645b52 100755 --- a/setup.sh +++ b/setup.sh @@ -7,6 +7,8 @@ echo "Setting environment variable SPACK_STACK_DIR to ${SPACK_STACK_DIR}" source ${SPACK_STACK_DIR:?}/spack/share/spack/setup-env.sh echo "Sourcing spack environment ${SPACK_STACK_DIR}/spack/share/spack/setup-env.sh" +export SPACK_DISABLE_LOCAL_CONFIG=true +export SPACK_USER_CACHE_PATH=$SPACK_ROOT/user_cache # Get the current hash of the spack-stack code export SPACK_STACK_HASH=`git rev-parse --short HEAD` From a8201e6fcc08280c3eee732bbfdbdba5d9112626 Mon Sep 17 00:00:00 2001 From: Alex Richert <82525672+AlexanderRichert-NOAA@users.noreply.github.com> Date: Fri, 16 Feb 2024 10:34:46 -0800 Subject: [PATCH 2/3] debug CI --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 37c645b52..198f64023 100755 --- a/setup.sh +++ b/setup.sh @@ -7,7 +7,7 @@ echo "Setting environment variable SPACK_STACK_DIR to ${SPACK_STACK_DIR}" source ${SPACK_STACK_DIR:?}/spack/share/spack/setup-env.sh echo "Sourcing spack environment ${SPACK_STACK_DIR}/spack/share/spack/setup-env.sh" -export SPACK_DISABLE_LOCAL_CONFIG=true +#export SPACK_DISABLE_LOCAL_CONFIG=true export SPACK_USER_CACHE_PATH=$SPACK_ROOT/user_cache # Get the current hash of the spack-stack code From 9dfe6fa29c592ffe86c037c2b7cdecfe771b126e Mon Sep 17 00:00:00 2001 From: Alex Richert <82525672+AlexanderRichert-NOAA@users.noreply.github.com> Date: Fri, 16 Feb 2024 10:37:18 -0800 Subject: [PATCH 3/3] Update setup.sh --- setup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.sh b/setup.sh index 198f64023..3f033d620 100755 --- a/setup.sh +++ b/setup.sh @@ -7,7 +7,6 @@ echo "Setting environment variable SPACK_STACK_DIR to ${SPACK_STACK_DIR}" source ${SPACK_STACK_DIR:?}/spack/share/spack/setup-env.sh echo "Sourcing spack environment ${SPACK_STACK_DIR}/spack/share/spack/setup-env.sh" -#export SPACK_DISABLE_LOCAL_CONFIG=true export SPACK_USER_CACHE_PATH=$SPACK_ROOT/user_cache # Get the current hash of the spack-stack code