From 2c3f2c5733bbc0ca1e1c80c74cc616e882a83800 Mon Sep 17 00:00:00 2001 From: "John W. Parent" <45471568+johnwparent@users.noreply.github.com> Date: Fri, 7 Feb 2025 02:25:11 -0500 Subject: [PATCH] Windows: Update default config for stage location (#48511) Current location is within the Spack prefix, which causes builds to pollute VCS with stage artifacts and generally inflates the Spack install prefix. This PR moves it to the user cache location now that we can consistently support paths with spaces on Windows. --- etc/spack/defaults/windows/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/spack/defaults/windows/config.yaml b/etc/spack/defaults/windows/config.yaml index eaa336dca2b..f54febe9575 100644 --- a/etc/spack/defaults/windows/config.yaml +++ b/etc/spack/defaults/windows/config.yaml @@ -1,5 +1,5 @@ config: locks: false build_stage:: - - '$spack/.staging' + - '$user_cache_path/stage' stage_name: '{name}-{version}-{hash:7}'