From 2157d399aa6e1cfc25a1d349db474c2e1f668ac9 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Thu, 23 Nov 2023 20:06:38 -0600 Subject: [PATCH] Use buildcache create --only options for emergency buildcache too --- bin/build-spack-env.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/build-spack-env.sh b/bin/build-spack-env.sh index d93b05d..7d27d82 100755 --- a/bin/build-spack-env.sh +++ b/bin/build-spack-env.sh @@ -1352,6 +1352,7 @@ if (( failed )) && (( want_emergency_buildcache )); then \ _cmd $ERROR $PIPE spack \ \${common_spack_opts[*]:+\"\${common_spack_opts[@]}\"} \ buildcache create \ + \${buildcache_package_opts[*]:+\"\${buildcache_package_opts[@]}\"} \ \${buildcache_key_opts[*]:+\"\${buildcache_key_opts[@]}\"} \ \$buildcache_rel_arg --rebuild-index \ \"$working_dir/copyBack/spack-emergency-cache\" \