From 9aa0536bb66ed4fcbfa8385ae366fd6484c0de95 Mon Sep 17 00:00:00 2001 From: Nicolas Richart <nicolas.richart@epfl.ch> Date: Wed, 31 Jan 2024 18:06:34 +0100 Subject: [PATCH] Treat hashes separately --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1391b1..9510b8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -153,14 +153,13 @@ spack:install_compilers: cat compiler_definitions.yaml - | - while read -r compiler_hash - do + for compiler_hash in $(echo ${hashes}) 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}) + done - spack/bin/spack -e . config blame compilers -- GitLab