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

Treat hashes separately

parent df167b18
No related branches found
No related tags found
No related merge requests found
Pipeline #179952 failed
...@@ -153,14 +153,13 @@ spack:install_compilers: ...@@ -153,14 +153,13 @@ spack:install_compilers:
cat compiler_definitions.yaml cat compiler_definitions.yaml
- | - |
while read -r compiler_hash for compiler_hash in $(echo ${hashes})
do
echo "spack/bin/spack location -i ${compiler_hash}" echo "spack/bin/spack location -i ${compiler_hash}"
location=$(spack/bin/spack location -i ${compiler_hash}) location=$(spack/bin/spack location -i ${compiler_hash})
echo "spack/bin/spack compiler find --scope system ${location}" echo "spack/bin/spack compiler find --scope system ${location}"
spack/bin/spack compiler find --scope system $(spack/bin/spack location -i ${compiler_hash}) spack/bin/spack compiler find --scope system $(spack/bin/spack location -i ${compiler_hash})
done <<< $(echo ${hashes}) done
- spack/bin/spack -e . config blame compilers - spack/bin/spack -e . config blame compilers
......
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