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

ccache dir per TARGETPLATFORM

parent cc055dc8
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !459. Comments created here will be created in the context of that merge request.
......@@ -8,6 +8,7 @@ ARG INTERNAL_TAG="testing"
## EIC builder image with spack
## ========================================================================================
FROM ${DOCKER_REGISTRY}${BASE_IMAGE}:${INTERNAL_TAG}
ARG TARGETPLATFORM
ARG EICWEB="https://eicweb.phy.anl.gov/api/v4/projects"
ARG JUGGLER_VERSION="main"
......@@ -121,7 +122,7 @@ ADD https://api.github.com/repos/eic/ip6 /tmp/ip6.json
ADD https://api.github.com/repos/eic/epic /tmp/epic.json
COPY setup_detectors.py /tmp
COPY detectors.yaml /tmp
ENV CCACHE_DIR=/ccache
ENV CCACHE_DIR=/ccache/$TARGETPLATFORM
RUN --mount=type=cache,target=/ccache/ \
cd /tmp \
&& [ "z$NIGHTLY" = "z1" ] && NIGHTLY_FLAG="--nightly" || NIGHTLY_FLAG="" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment