From fed2e5dd1b1b5be14eca005a62f32e1ba6aad87f Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Wed, 8 Nov 2023 08:48:33 -0600 Subject: [PATCH] Make skipping package installed from buildache an ALERT not a FATAL ERROR --- bin/build-spack-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-spack-env.sh b/bin/build-spack-env.sh index 693590f..5c50c4b 100755 --- a/bin/build-spack-env.sh +++ b/bin/build-spack-env.sh @@ -1343,7 +1343,7 @@ if (( failed )) && (( want_emergency_buildcache )); then \ tag_text=ALERT _report $ERROR \"emergency buildcache dump...\"; \ for spec in \$(spack find -L | sed -Ene 's&^([[:alnum:]]+).*\$&/\\1&p');do \ if [ -f \"\$(spack location -i \$spec)/.spack/binary_distribution\" ]; then - _report $ERROR skipping package installed from buildcache \$spec;\ + tag_text=ALERT _report $ERROR skipping package installed from buildcache \$spec;\ else \ _cmd $ERROR $PIPE spack \ \${common_spack_opts[*]:+\"\${common_spack_opts[@]}\"} \