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

fix: apply version as package:require

parent 735e05aa
No related branches found
No related tags found
No related merge requests found
...@@ -161,10 +161,10 @@ spack buildcache update-index local ...@@ -161,10 +161,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 --force --fresh spack concretize --force --fresh
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.
Finish editing this message first!
Please register or to comment