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
This commit is part of merge request !747. Comments created here will be created in the context of that merge request.
......@@ -159,11 +159,11 @@ spack buildcache update-index eics3rw
spack env activate --dir ${SPACK_ENV}
if [ -n ${JUGGLER_VERSION} ] ; then
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
if [ -n ${EICRECON_VERSION} ] ; then
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
spack concretize --fresh --force --quiet
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