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

fix: apply version as package:require

parent edca1d4d
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !747. Comments created here will be created in the context of that merge request.
......@@ -158,11 +158,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 SPACK_ENV=${SPACK_ENV} BUILDCACHE_MIRROR_ONLY_PACKAGE="eics3rw" BUILDCACHE_MIRROR_DEPENDENCIES="eicweb ghcr"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment