Skip to content
Snippets Groups Projects
Commit f877ab41 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: all build cache mirrors equal now

parent ba67b2bc
No related branches found
No related tags found
No related merge requests found
...@@ -63,8 +63,8 @@ RUN declare -A target=( \ ...@@ -63,8 +63,8 @@ RUN declare -A target=( \
## Setup spack buildcache mirrors ## Setup spack buildcache mirrors
RUN --mount=type=cache,target=/var/cache/spack-mirror \ RUN --mount=type=cache,target=/var/cache/spack-mirror \
spack mirror add docker /var/cache/spack-mirror \ spack mirror add spack-mirror /var/cache/spack-mirror \
&& spack buildcache update-index -d /var/cache/spack-mirror \ && spack buildcache update-index -m spack-mirror \
&& spack mirror list && spack mirror list
## Setup eic-spack buildcache mirrors ## Setup eic-spack buildcache mirrors
...@@ -112,8 +112,7 @@ RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \ ...@@ -112,8 +112,7 @@ RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \
&& spack env activate --dir ${SPACK_ENV} \ && spack env activate --dir ${SPACK_ENV} \
&& make --jobs ${jobs} --keep-going --directory /opt/spack-environment \ && make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \ SPACK_ENV=${SPACK_ENV} \
BUILDCACHE_DIR=/var/cache/spack-mirror \ BUILDCACHE_MIRROR="spack-mirror eic-spack" \
BUILDCACHE_MIRROR=eic-spack \
&& ccache --show-stats && ccache --show-stats
## Create view at /usr/local ## Create view at /usr/local
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment