Skip to content
Snippets Groups Projects

chore: spack-v0.22.1

Merged Wouter Deconinck requested to merge spack-v0.22.1 into master
Compare and Show latest version
6 files
+ 54
18
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -130,10 +130,6 @@ git -C ${KEY4HEPSPACK_ROOT} checkout ${KEY4HEPSPACK_VERSION}
spack repo add --scope site "${KEY4HEPSPACK_ROOT}"
EOF
## Workaround for xrootd server, https://github.com/xrootd/xrootd/issues/2295
ADD https://spaces.at.internet2.edu/download/attachments/24576265/InCommon%20RSA%20Server%20CA%202.pem?api=v2 /usr/local/share/ca-certificates/InCommonRSAServerCA2.pem
RUN openssl x509 -outform der -in /usr/local/share/ca-certificates/InCommonRSAServerCA2.pem -out /usr/local/share/ca-certificates/InCommonRSAServerCA2.crt
RUN update-ca-certificates
## ========================================================================================
## STAGE1: builder
@@ -161,11 +157,11 @@ make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \
BUILDCACHE_OCI_PROMPT="eicweb" \
BUILDCACHE_OCI_FINAL="ghcr"
spack find --implicit --no-groups \
spack find --long --no-groups \
| sed -e '1,/Installed packages/d;s/\([^@]*\).*/\1/g' \
| uniq -d | grep -v py-pip | grep -v py-cython \
| uniq -D -f1 | grep -v -w epic \
| tee /tmp/duplicates.txt
test -s /tmp/duplicates.txt && exit 1
test -s /tmp/duplicates.txt && ( cat /tmp/duplicates.txt | while read hash spec ; do spack spec --long /${hash} ; done ) && exit 1
ccache --show-stats
ccache --zero-stats
EOF
Loading