Drop public Spack cache

This commit is contained in:
Matthias Krack 2025-05-19 15:33:22 +02:00
parent d5244a02fe
commit ecb7c3aa80
3 changed files with 0 additions and 17 deletions

View file

@ -60,13 +60,6 @@ RUN spack compiler find
# Find all external packages
RUN spack external find --all --not-buildable
# Enable Spack build cache
ARG SPACK_BUILD_CACHE
ENV SPACK_BUILD_CACHE="${SPACK_BUILD_CACHE:-develop-2025-05-18}"
RUN spack mirror add ${SPACK_BUILD_CACHE} https://binaries.spack.io/${SPACK_BUILD_CACHE} && \
spack buildcache keys --install --trust --force && \
spack mirror remove ${SPACK_BUILD_CACHE}
# Copy Spack configuration and build recipes
ARG CP2K_VERSION
ENV CP2K_VERSION=${CP2K_VERSION:-ssmp}

View file

@ -57,11 +57,6 @@ RUN spack compiler find
# Find all external packages
RUN spack external find --all --not-buildable
# Add public Spack cache from https://cache.spack.io
RUN spack mirror add ${SPACK_VERSION}-cache https://binaries.spack.io/${SPACK_VERSION} && \
spack buildcache keys --install --trust --force && \
spack mirror remove ${SPACK_VERSION}-cache
# Add local Spack cache.
ARG SPACK_CACHE
ENV SPACK_CACHE=${SPACK_CACHE:-"s3://spack-cache --s3-endpoint-url=http://localhost:9000"}

View file

@ -883,11 +883,6 @@ RUN spack compiler find
# Find all external packages
RUN spack external find --all --not-buildable
# Add public Spack cache from https://cache.spack.io
RUN spack mirror add ${{SPACK_VERSION}}-cache https://binaries.spack.io/${{SPACK_VERSION}} && \
spack buildcache keys --install --trust --force && \
spack mirror remove ${{SPACK_VERSION}}-cache
# Add local Spack cache.
ARG SPACK_CACHE
ENV SPACK_CACHE=${{SPACK_CACHE:-"s3://spack-cache --s3-endpoint-url=http://localhost:9000"}}