From 50b56ee1ce0e7347cd1fb303757bb8f961834f3b Mon Sep 17 00:00:00 2001 From: Ryan Krattiger <80296582+kwryankrattiger@users.noreply.github.com> Date: Fri, 7 Mar 2025 17:07:56 -0600 Subject: [PATCH] CI: Set the cache path for all platforms (#49373) The SPACK_USER_CACHE_PATH was being overwritten in the windows CI before_script. This should set the path for all systems unless explicitly overridden. --- share/spack/gitlab/cloud_pipelines/configs/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml index fde9aad3268..c71ca66d38c 100644 --- a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml +++ b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml @@ -123,8 +123,8 @@ ci: variables: # Disable local configs to avoid issues on shell runners SPACK_DISABLE_LOCAL_CONFIG: "1" + SPACK_USER_CACHE_PATH: "${CI_PROJECT_DIR}/tmp/_user_cache/" before_script: - - - export SPACK_USER_CACHE_PATH="${CI_PROJECT_DIR}/tmp/_user_cache/" - - uname -a || true - grep -E "vendor|model name" /proc/cpuinfo 2>/dev/null | sort -u || head -n10 /proc/cpuinfo 2>/dev/null || true - nproc || true