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

ccache: use CCACHE_DIR

parent b25669fd
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.
......@@ -101,11 +101,13 @@ 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
RUN --mount=type=cache,target=/root/.ccache/ \
ENV CCACHE_DIR=/ccache
RUN --mount=type=cache,target=/ccache/ \
cd /tmp \
&& [ "z$NIGHTLY" = "z1" ] && NIGHTLY_FLAG="--nightly" || NIGHTLY_FLAG="" \
&& /tmp/setup_detectors.py --prefix /opt/detector --config /tmp/detectors.yaml \
$NIGHTLY_FLAG \
&& ccache --show-stats \
&& rm /tmp/setup_detectors.py
## Hotfix for misbehaving OSG nodes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment