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

more debug

parent b0987a75
No related branches found
No related tags found
No related merge requests found
Pipeline #196508 failed
...@@ -18,12 +18,6 @@ else ...@@ -18,12 +18,6 @@ else
fi fi
git -C spack checkout $SPACK_VERSION git -C spack checkout $SPACK_VERSION
#cat > spack/etc/spack/config.yaml << EOF
#config:
# install_tree:
# root: ${STACK_LOCATION}/spack/opt/spack
#EOF
echo "Adding spack system config file" echo "Adding spack system config file"
echo mkdir -p ${SPACK_SYSTEM_CONFIG_PATH} echo mkdir -p ${SPACK_SYSTEM_CONFIG_PATH}
...@@ -89,13 +83,15 @@ spack/bin/spack buildcache keys \ ...@@ -89,13 +83,15 @@ spack/bin/spack buildcache keys \
#spack/bin/spack buildcache update-index /buildcache #spack/bin/spack buildcache update-index /buildcache
which jq
jq --version
echo "Env: $environment" echo "Env: $environment"
target=$(jq -Mrc --arg env "$environment" ' target=$(jq -Mrc --arg env "${environment}" '
.environments.[$env].target .environments.[$env].target
' ${STACK_CONFIG}) ' ${STACK_CONFIG})
require=$(jq -Mrc --arg env "$environment" ' require=$(jq -Mrc --arg env "${environment}" '
.environments.[$env] .environments.[$env]
| if has("require") then | if has("require") then
.require .require
......
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