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

Problem in compiler detections

parent b14263df
No related merge requests found
Pipeline #179363 failed
......@@ -106,6 +106,8 @@ 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}"
- /spack/spack/bin/spack spec
--install-status
--namespaces
......@@ -132,9 +134,10 @@ spack:install_compilers:
- /spack/spack/bin/spack compiler find --scope site /usr
- |
for compiler in ${COMPILER_LIST_SPECS}; do
while read -r compiler
do
/spack/spack/bin/spack compiler find --scope site $(/spack/spack/bin/spack location -i ${compiler})
done
done <<< $(echo "${COMPILER_LIST_SPECS}")
artifacts:
reports:
junit: spack-install.xml
......
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