Skip to content

Commit

Permalink
Only allow a single buildcache to not complicate input syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrizka committed Jan 1, 2025
1 parent 6edec64 commit 9b4042c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions AlmaLinux9/Dockerfile-spack
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ ARG SPACK_BUILDCACHE
RUN source /opt/setup_spack.sh && \
spack compiler find && \
if [ -n "${SPACK_BUILDCACHE}" ]; then \
for buildcache in ${SPACK_BUILDCACHE//:/ }; do \
spack mirror add --unsigned local-buildcache "${buildcache}"; \
done \
spack mirror add --unsigned local-buildcache "${SPACK_BUILDCACHE}"; \
fi

0 comments on commit 9b4042c

Please sign in to comment.