Skip to content

Commit

Permalink
fix: use buildcache on stage 1
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Dec 28, 2023
1 parent 59e9bb1 commit d57aebd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion containers/jug/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ find /var/cache/spack/blobs/sha256/ -atime +7 -delete
spack buildcache update-index eics3rw
spack env activate --dir ${SPACK_ENV}
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"
make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \
BUILDCACHE_OCI_PROMPT="eicweb" \
BUILDCACHE_OCI_FINAL="ghcr" \
BUILDCACHE_S3_FINAL="eics3rw"
ccache --show-stats
ccache --zero-stats
EOF
Expand Down

0 comments on commit d57aebd

Please sign in to comment.