Skip to content
Snippets Groups Projects
Commit 4b10a77f authored by Nicolas Richart's avatar Nicolas Richart
Browse files

small improvements

parent ba470a00
No related branches found
No related tags found
No related merge requests found
Pipeline #179369 failed
......@@ -113,7 +113,7 @@ spack:install_compilers:
- .parallel_job
script:
- COMPILER_LIST_SPECS=$(jq -r '.stack | .core_compiler as $core | .compilers | map("\(.spec)@\(.version) %\($core)")[]' config.json)
- echo "Compilers to install ${COMPILER_LIST_SPECS}"
- echo "Compilers to install \n${COMPILER_LIST_SPECS}"
- spack/bin/spack spec
--install-status
......@@ -138,12 +138,12 @@ spack:install_compilers:
- |
echo 'definitions: [ compilers: [' ${COMPILER_LIST_SPECS} ']]' > compiler_definitions.yaml
- spack/bin/spack compiler find --scope site /usr
- spack/bin/spack compiler find --scope system /usr
- |
while read -r compiler
do
spack/bin/spack compiler find --scope site $(spack/bin/spack location -i ${compiler})
spack/bin/spack compiler find --scope system $(spack/bin/spack location -i ${compiler})
done <<< $(echo "${COMPILER_LIST_SPECS}")
artifacts:
reports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment