spack/lib/spack
Massimiliano Culpo 395c911689
Specs: propagated variants affect == equality (#47376)
This PR changes the semantic of == for spec so that:

hdf5++mpi == hdf5+mpi

won't hold true anymore. It also changes the constrain semantic, so that a
non-propagating variant always override a propagating variant. This means:

(hdf5++mpi).constrain(hdf5+mpi) -> hdf5+mpi

Before we had a very weird semantic, that was supposed to be tested by unit-tests:

(libelf++debug).constrain(libelf+debug+foo) -> libelf++debug++foo

This semantic has been dropped, as it was never really tested due to the == bug.
2024-11-03 22:35:16 -08:00
..
docs build(deps): bump python-levenshtein in /lib/spack/docs (#47372) 2024-11-01 23:55:18 +00:00
env Revert "cc: ensure that RPATHs passed to linker are unique" (#46712) 2024-10-02 11:50:09 +02:00
external archspec: update to v0.2.5 (#46958) 2024-10-14 19:09:17 +02:00
llnl Spec.dependencies: allow to filter on virtuals (#47284) 2024-10-30 12:15:01 +01:00
spack Specs: propagated variants affect == equality (#47376) 2024-11-03 22:35:16 -08:00
spack_installable Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00