From 75facf490f1d1901ebdbd06e47e10169b4f70b13 Mon Sep 17 00:00:00 2001 From: Nicolas Richart <nicolas.richart@epfl.ch> Date: Wed, 31 Jan 2024 16:34:43 +0100 Subject: [PATCH] Correcting multiple definitions of compilers --- .gitlab-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ad9bbe..6b92fe7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -153,10 +153,13 @@ spack:install_compilers: cat compiler_definitions.yaml - | - while read -r compiler + while read -r compiler_hash do - spack/bin/spack compiler find --scope system $(spack/bin/spack location -i ${compiler}) - done <<< $(echo "${COMPILER_LIST_SPECS}") + spack/bin/spack compiler find --scope system $(spack/bin/spack location -i /${compiler_hash}) + done <<< $(echo "${hashes}") + + - spack/bin/spack -e . config compilers + artifacts: reports: junit: spack-install.xml @@ -172,7 +175,7 @@ spack:concretize: - .spack_cache - .parallel_job script: - - spack/bin/spack config blame definitions + - spack/bin/spack -e . config blame definitions - spack/bin/spack -e . concretize needs: - job: spack:install_compilers -- GitLab