-
Notifications
You must be signed in to change notification settings - Fork 4
chore: upgrade spack to v1.1.0 #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
5b15a8d
a7bee4b
3e3e741
77a6132
c0c4100
cde63bb
57a0e4c
e93ddf2
84c7247
a36aa1b
ea3120a
3394278
0a10279
9a79ddb
f3f74ac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -473,6 +473,16 @@ eic: | |
| --build-arg JUGGLER_SHA=$(sh .ci/resolve_git_ref eic/juggler ${JUGGLER_VERSION:-main}) | ||
| } | ||
| --build-arg ENV=${ENV} | ||
| --build-arg SPACK_DUPLICATE_ALLOWLIST=$( | ||
| case "${ENV}" in | ||
| ci|ci_without_acts|cuda|dbg|jl|prod) | ||
| echo "epic|llvm|py-setuptools|py-urllib3" ;; | ||
| xl|tf) | ||
| echo "epic|llvm|py-setuptools|py-urllib3|py-dask|py-dask-awkward|py-dask-histogram|py-distributed|py-requests" ;; | ||
| *) | ||
| echo "epic|llvm|py-setuptools|py-urllib3" ;; | ||
| esac | ||
| ) | ||
|
Comment on lines
475
to
+485
|
||
| --build-arg jobs=${JOBS} | ||
| --build-context spack-environment=spack-environment | ||
| --secret id=mirrors,src=mirrors.yaml | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -46,6 +46,7 @@ ARG ENV=xl | |||||||||||||||||||||||
| ENV SPACK_ENV=/opt/spack-environment/${ENV} | ||||||||||||||||||||||||
| ARG SPACK_FLAGS="--backtrace" | ||||||||||||||||||||||||
| ARG SPACK_INSTALL_FLAGS="--no-check-signature --show-log-on-error --yes-to-all" | ||||||||||||||||||||||||
wdconinc marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||
| ARG SPACK_DUPLICATE_ALLOWLIST="" | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
| ARG SPACK_DUPLICATE_ALLOWLIST="" | |
| ARG SPACK_DUPLICATE_ALLOWLIST="a^" |
Copilot
AI
Jan 19, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When SPACK_DUPLICATE_ALLOWLIST is empty (default), the grep regex becomes () and grep -Evw will exclude every line, making the duplicate-package check a no-op. Consider skipping the grep step when the allowlist is empty, or default the allowlist to a pattern that matches nothing so duplicates are still caught for local builds.
| | tee /tmp/duplicates_all.txt \ | |
| | grep -Evw "(${SPACK_DUPLICATE_ALLOWLIST})" \ | |
| | tee /tmp/duplicates_disallowed.txt | |
| | tee /tmp/duplicates_all.txt | |
| if [ -n "${SPACK_DUPLICATE_ALLOWLIST}" ] ; then | |
| grep -Evw "(${SPACK_DUPLICATE_ALLOWLIST})" /tmp/duplicates_all.txt \ | |
| | tee /tmp/duplicates_disallowed.txt | |
| else | |
| cat /tmp/duplicates_all.txt \ | |
| | tee /tmp/duplicates_disallowed.txt | |
| fi |
Uh oh!
There was an error while loading. Please reload this page.