From ef615bcc7e05ec76cdf9fa8301686e84d6ac4c45 Mon Sep 17 00:00:00 2001
From: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>
Date: Fri, 13 Dec 2024 00:55:01 -0600
Subject: [PATCH] CI: Move the build stage to the project root instead of tmp
 (#47996)

On MacOS the tmpdir fills up over time and isn't cleared properly.
Move the build stage to a location it is cleared after each build.
---
 share/spack/gitlab/cloud_pipelines/configs/config.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/share/spack/gitlab/cloud_pipelines/configs/config.yaml b/share/spack/gitlab/cloud_pipelines/configs/config.yaml
index fef23ade4bf..590641e7467 100644
--- a/share/spack/gitlab/cloud_pipelines/configs/config.yaml
+++ b/share/spack/gitlab/cloud_pipelines/configs/config.yaml
@@ -5,4 +5,6 @@ config:
     padded_length: 256
     projections:
       all: '{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'
+  build_stage:
+  - $spack/tmp/stage
 
-- 
GitLab