Skip to content
Snippets Groups Projects
Commit 2a7fdaec authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: apply version as package:require

parent 0764b7d6
No related branches found
No related tags found
1 merge request!747feat: install most dependencies in cacheable layer, before adding main
...@@ -159,11 +159,11 @@ spack buildcache update-index eics3rw ...@@ -159,11 +159,11 @@ spack buildcache update-index eics3rw
spack env activate --dir ${SPACK_ENV} spack env activate --dir ${SPACK_ENV}
if [ -n ${JUGGLER_VERSION} ] ; then if [ -n ${JUGGLER_VERSION} ] ; then
export JUGGLER_VERSION=$(jq -r .sha /tmp/juggler.json) export JUGGLER_VERSION=$(jq -r .sha /tmp/juggler.json)
spack rm juggler && spack add juggler@git.${JUGGLER_VERSION} spack config add "packages:juggler:require:['@git.${JUGGLER_VERSION}']"
fi fi
if [ -n ${EICRECON_VERSION} ] ; then if [ -n ${EICRECON_VERSION} ] ; then
export EICRECON_VERSION=$(jq -r .sha /tmp/eicrecon.json) export EICRECON_VERSION=$(jq -r .sha /tmp/eicrecon.json)
spack rm eicrecon && spack add eicrecon@git.${EICRECON_VERSION} spack config add "packages:eicrecon:require:['@git.${EICRECON_VERSION}']"
fi fi
spack concretize --fresh --force --quiet spack concretize --fresh --force --quiet
make --jobs ${jobs} --keep-going --directory /opt/spack-environment \ make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment