Open
CI: pin Linux concretization target to x86_64_v3 for buildcache ABI consistency#1015
Conversation
Co-authored-by: wdconinc <4656391+wdconinc@users.noreply.github.com>
Copilot
AI
changed the title
ci: force Linux builds and buildcache artifacts to x86_64_v3
CI: pin Linux concretization target to x86_64_v3 for buildcache ABI consistency
Aug 30, 2026
Copilot created this pull request from a session on behalf of
wdconinc
August 30, 2026 21:18
View session
wdconinc
marked this pull request as ready for review
August 30, 2026 21:19
wdconinc
approved these changes
Aug 30, 2026
wdconinc
enabled auto-merge (squash)
August 30, 2026 21:19
Contributor
There was a problem hiding this comment.
Pull request overview
This PR standardizes Spack concretization on Linux in CI by pinning the microarchitecture target to x86_64_v3, preventing ABI-incompatible reuse of buildcache artifacts produced for newer targets (e.g., x86_64_v4) on x86_64_v3 runners.
Changes:
- Added a
packages:all:requirerule to enforcetarget=x86_64_v3whenplatform=linuxin CI Spack configuration. - Ensures both environment-based and changed-package CI jobs share the same Linux target baseline via
config/ci/packages.yaml.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
|
This will fix things like this: https://github.com/eic/eic-spack/actions/runs/33336035164/job/99322998842?pr=1015#step:12:80 |
Updated package specifications to include platform conditions for gcc and apple-clang.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI was reusing buildcache artifacts built for newer microarchitectures (for example
x86_64_v4) onx86_64_v3runners, causing ABI-incompatible dependency reuse during concretization/install. This change standardizes Linux target selection so CI and cache production stay compatible.What changed
target=x86_64_v3for concretization.config/ci/packages.yamlunderpackages: all, so both environment and changed-package CI jobs inherit the same target policy.Effect on CI/cache behavior
x86_64_v3).