diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ad9bbe0b31684009b82e8954448598020603f7f..6b92fe72b5a88147534ff20416e01c3729683b5f 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