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 branches found
No related tags found
No related merge requests found
Pipeline #179363 failed
...@@ -106,6 +106,8 @@ spack:install_compilers: ...@@ -106,6 +106,8 @@ spack:install_compilers:
- .parallel_job - .parallel_job
script: script:
- COMPILER_LIST_SPECS=$(jq -r '.stack | .core_compiler as $core | .compilers | map("\(.spec)@\(.version) %\($core)")[]' config.json) - 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 - /spack/spack/bin/spack spec
--install-status --install-status
--namespaces --namespaces
...@@ -132,9 +134,10 @@ spack:install_compilers: ...@@ -132,9 +134,10 @@ spack:install_compilers:
- /spack/spack/bin/spack compiler find --scope site /usr - /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}) /spack/spack/bin/spack compiler find --scope site $(/spack/spack/bin/spack location -i ${compiler})
done done <<< $(echo "${COMPILER_LIST_SPECS}")
artifacts: artifacts:
reports: reports:
junit: spack-install.xml 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