Skip to content
Snippets Groups Projects

chore: spack-0.20.0

Merged Wouter Deconinck requested to merge spack-0.20.0 into master
Compare and
4 files
+ 23
87
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -26,7 +26,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${TARGETPLATFORM}
## Setup spack
ENV SPACK_ROOT=/opt/spack
ARG SPACK_ORGREPO="spack/spack"
ARG SPACK_VERSION="releases/v0.19"
ARG SPACK_VERSION="releases/v0.20"
ARG SPACK_CHERRYPICKS=""
ADD https://api.github.com/repos/${SPACK_ORGREPO}/commits/${SPACK_VERSION} /tmp/spack.json
RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \
@@ -63,8 +63,8 @@ RUN declare -A target=( \
## Setup spack buildcache mirrors
RUN --mount=type=cache,target=/var/cache/spack-mirror \
spack mirror add docker /var/cache/spack-mirror \
&& spack buildcache update-index -d /var/cache/spack-mirror \
spack mirror add spack-mirror /var/cache/spack-mirror \
&& spack buildcache update-index spack-mirror \
&& spack mirror list
## Setup eic-spack buildcache mirrors
@@ -112,8 +112,7 @@ RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \
&& spack env activate --dir ${SPACK_ENV} \
&& make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \
BUILDCACHE_DIR=/var/cache/spack-mirror \
BUILDCACHE_MIRROR=eic-spack \
BUILDCACHE_MIRROR="spack-mirror eic-spack" \
&& ccache --show-stats
## Create view at /usr/local
Loading