From df167b18584e536d7a9490a3f9d449f7ecdaddeb Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Wed, 31 Jan 2024 17:20:42 +0100
Subject: [PATCH] More debug

---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 27d7eaa..c1391b1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -155,7 +155,10 @@ spack:install_compilers:
     - |
       while read -r compiler_hash
       do
-        echo "spack/bin/spack compiler find --scope system $(spack/bin/spack location -i ${compiler_hash})"
+        echo "spack/bin/spack location -i ${compiler_hash}"
+        location=$(spack/bin/spack location -i ${compiler_hash})
+
+        echo "spack/bin/spack compiler find --scope system ${location}"
         spack/bin/spack compiler find --scope system $(spack/bin/spack location -i ${compiler_hash})
       done <<< $(echo ${hashes})
 
-- 
GitLab