Repository navigation
Restack the parity fixes onto main - #73
Merged
Merged
Conversation
Generalize branch-condition evaluation in eb_parse from ARCH-only guards to decidable boolean predicates over parsed recipe variables such as `if 'gpu' in local_pennylane_lightning_extras:`. Unmodeled conditions continue to skip safely. Vendor verbatim PennyLane-0.37.0-foss-2023a-CUDA-12.1.1 plus cuQuantum and CUDA fixtures under fixtures/parity_pennylane_cond/ with upstream GPL-2.0 LICENSE and README.md. Exclude fixtures/parity_*/ in Cargo.toml and assert the resolved cuQuantum module against EasyBuild.
Allow build_order::within_generation and eb_parse::candidate_matches_dep to keep candidates when an un-toolchained exact pin spells the target module's full toolchain-suffixed version, such as jemalloc 5.3.0-GCCcore-13.3.0 in SYSTEM recipe sentieon-genomics-202503.02.eb. Vendor the verbatim 19-file sentieon-genomics-202503.02 robot closure under fixtures/parity_sentieon_system_dep/ with upstream GPL-2.0 LICENSE and README.md.
Match EasyBuild's Foss.SUBTOOLCHAIN precedence and the foss fixtures when deriving foss hierarchies from the easyconfig tree by placing gfbf before gompi. Previously derived generations such as foss-2022a and foss-2024.05 emitted gompi before gfbf. Vendor the verbatim 32-file foss-2022a closure and framework foss.py under fixtures/parity_foss_subtoolchain/ with upstream GPL-2.0 LICENSE and README.md.
Recognize SYSTEM Toolchain and GCCcore-based compiler recipes as subtoolchains in derive_hierarchy_by_walking even when no recipe in a sparse tree names them as its toolchain, such as iimkl-2025b without intel-compilers-toolchain dependents. Resolve split version plus versionsuffix compiler definitions such as rocm-compilers-19.0.0-ROCm-6.4.1. Vendor verbatim iimkl-2025b and rompi-2025a closures with framework toolchain files under fixtures/parity_sparse_compiler_hierarchy/ alongside upstream GPL-2.0 LICENSE and README.md.
Exclude parity fixture directories from site-name scanning while retaining coverage elsewhere.
recipe check and build_order each decided on their own whether a
dependency tuple without a toolchain may select a SYSTEM build, and
recipe check also accepted any toolchain-suffixed version outright. A
foss recipe listing ('zlib', '1.3.1-special') therefore took a SYSTEM
zlib whose versionsuffix happened to complete the version string.
hierarchy::bare_dependency_allows_system now encodes the rule: a SYSTEM
build is admissible only to a SYSTEM recipe. build_order applies it
directly, since it ranks hierarchy levels by distance itself, and
ToolchainHierarchy::admits_bare_dependency_candidate combines it with
hierarchy membership for recipe check. The full-module shortcut in
candidate_matches_dep_core goes with it.
Dropping the full-module shortcut in the previous commit also stopped
recipe check from resolving a dependency version that spells the whole
toolchain-suffixed module, such as ('jemalloc', '5.3.0-GCCcore-13.3.0')
in the SYSTEM recipe sentieon-genomics-202503.02. build_order still
accepts such a pin in within_generation, so the two disagreed.
candidate_matches_dep_core accepts the pin again, wherever the named
build sits in the hierarchy, as build_order does. The SYSTEM rule from
bare_dependency_allows_system still applies, so a non-SYSTEM recipe
cannot reach a SYSTEM build this way either.
HaoZeke
force-pushed
the
stack/parity-ready
branch
from
November 21, 2026 08:36
5b43d7b to
e7bc9dd
Compare
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.
Restacks the parity-ready line onto
mainat its current tip, after #71 and #72 merged.Commits
fix(eb_parse): evaluate known conditional guards for augassignfix(build_order): match full-module pins across toolchainsfix(hierarchy): order gfbf before gompi in foss derivationfix(hierarchy): keep compiler levels in sparse treesEach commit has the same
git patch-id --stableas its counterpart on the earlier parity line, so the series carries the same four changes.Dropped
Two replayed commits from the earlier line are already on
main, matched bygit patch-id --stable:fix(hierarchy): fall back to NVHPC recipe for GCCcore levelis already merged via Fall back to NVHPC recipe at the GCCcore level #71.fix(build_order): reject suffixed candidates for bare depsis already merged via Require empty versionsuffix when dependency has none #72.Notes
The fixtures under
fixtures/parity_sparse_compiler_hierarchy/are vendored upstream easyconfigs and framework toolchain files with the upstream GPL-2.0 LICENSE and README.Cargo.tomlexcludesfixtures/parity_*/from the package.