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

fix: better duplicate package diagnostics

parent b95433de
No related branches found
No related tags found
1 merge request!956chore: spack-v0.22.1
This commit is part of merge request !956. Comments created here will be created in the context of that merge request.
...@@ -157,11 +157,11 @@ make --jobs ${jobs} --keep-going --directory /opt/spack-environment \ ...@@ -157,11 +157,11 @@ make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \ SPACK_ENV=${SPACK_ENV} \
BUILDCACHE_OCI_PROMPT="eicweb" \ BUILDCACHE_OCI_PROMPT="eicweb" \
BUILDCACHE_OCI_FINAL="ghcr" BUILDCACHE_OCI_FINAL="ghcr"
spack find --implicit --no-groups \ spack find --long --no-groups \
| sed -e '1,/Installed packages/d;s/\([^@]*\).*/\1/g' \ | 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 | 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 /${hash} ; done ) && exit 1
ccache --show-stats ccache --show-stats
ccache --zero-stats ccache --zero-stats
EOF EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment