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

Des-ambiguating the specs to cache

parent 96f318c9
No related branches found
No related tags found
No related merge requests found
Pipeline #179508 failed
......@@ -126,6 +126,14 @@ spack:install_compilers:
--types
${COMPILER_LIST_SPECS}
- spack/bin/spack spec
--install-status
--namespaces
--long
--types
--json
${COMPILER_LIST_SPECS} | compliers_spec.json
- spack/bin/spack install
--log-file spack-install.xml
--log-format junit
......@@ -136,7 +144,7 @@ spack:install_compilers:
- spack/bin/spack buildcache create
--update-index
--key EDC904DCE3D2E84E
/buildcache ${COMPILER_LIST_SPECS}
/buildcache $( jq -r '.spec.nodes | map("/\(.hash)") | join(" ")' compilers_spec.json )
- |
echo 'definitions: [ compilers: [' ${COMPILER_LIST_SPECS} ']]' > compiler_definitions.yaml
......@@ -149,6 +157,9 @@ spack:install_compilers:
artifacts:
reports:
junit: spack-install.xml
paths:
- compilers_spec.json
needs:
- job: spack:setup
......
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