mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 21:55:16 -04:00
Drop public Spack cache
This commit is contained in:
parent
d5244a02fe
commit
ecb7c3aa80
3 changed files with 0 additions and 17 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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"}
|
||||
|
|
|
|||
|
|
@ -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"}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue