spack/lib/spack
Harmen Stoppels 9ff5a30574
concretize.lp: fix issue with reuse of conditional variants (#43676)
Currently if you request pkg +example where example is a conditional
variant, and you have a pkg in the database for which the condition
did not hold (so no +example nor ~example), the solver would reuse it
regardless, not imposing +example.

The change rules out exactly one thing: variant_set without variant_value,
which in practice could only happen when not node_has_variant (i.e. when
under the current package.py rules the variant's when condition did not
trigger).
2024-04-16 16:09:32 +00:00
..
docs build(deps): bump python-levenshtein in /lib/spack/docs (#43543) 2024-04-15 18:00:24 +02:00
env remove dpcpp compiler and package (#43418) 2024-04-03 15:34:23 -07:00
external Update archspec to v0.2.3 (#42854) 2024-03-12 09:31:15 +01:00
llnl Windows bugfix: safe rename if renaming file onto itself (#43456) 2024-04-08 14:10:02 -07:00
spack concretize.lp: fix issue with reuse of conditional variants (#43676) 2024-04-16 16:09:32 +00:00
spack_installable Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00