Skip to content
Snippets Groups Projects

feat: install most dependencies in cacheable layer, before adding main

Merged Wouter Deconinck requested to merge cacheable-layer into master
Compare and Show latest version
4 files
+ 11
20
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -149,11 +149,12 @@ RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \
&& spack buildcache update-index eics3rw \
&& spack env activate --dir ${SPACK_ENV} \
&& if [ -n ${JUGGLER_VERSION} ] ; then \
spack config add "packages:juggler:require:['@git.${JUGGLER_VERSION}']" \
spack config add "packages:juggler::require:['@git.${JUGGLER_VERSION}']" ; \
fi \
&& if [ -n ${EICRECON_VERSION} ] ; then \
spack config add "packages:eicrecon:require:['@git.${EICRECON_VERSION}']" \
spack config add "packages:eicrecon::require:['@git.${EICRECON_VERSION}']" ; \
fi \
&& cat ${SPACK_ENV}/spack.yaml \
&& spack concretize --force --fresh \
&& make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \
Loading