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

fix: apply version as package:require

parent da04ee2b
Branches
Tags
No related merge requests found
...@@ -163,10 +163,10 @@ spack buildcache update-index local ...@@ -163,10 +163,10 @@ spack buildcache update-index local
spack buildcache update-index eics3rw 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
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
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 SPACK_ENV=${SPACK_ENV} BUILDCACHE_MIRROR="local eics3rw" make --jobs ${jobs} --keep-going --directory /opt/spack-environment SPACK_ENV=${SPACK_ENV} BUILDCACHE_MIRROR="local eics3rw"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment