diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-03-26 11:17:04 +0100 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2021-03-29 16:06:11 -0700 |
commit | 4ed5c366fa20ed473973b4e2256344465a701ed3 (patch) | |
tree | b53b00f57571ee3a43ae027c179bf2b996cc9252 /.gitattributes | |
parent | ebbce40a887f665a35374e1086a876ce2ad44dbc (diff) | |
download | spack-4ed5c366fa20ed473973b4e2256344465a701ed3.tar.gz spack-4ed5c366fa20ed473973b4e2256344465a701ed3.tar.bz2 spack-4ed5c366fa20ed473973b4e2256344465a701ed3.tar.xz spack-4ed5c366fa20ed473973b4e2256344465a701ed3.zip |
Enforce uniqueness of the version_weight atom per node
fixes #22565
This change enforces the uniqueness of the version_weight
atom per node(Package) in the DAG. It does so by applying
FTSE and adding an extra layer of indirection with the
possible_version_weight/2 atom.
Before this change it may have happened that for the same
node two different version_weight/2 were in the answer set,
each of which referred to a different spec with the same
version, and their weights would sum up.
This lead to unexpected result like preferring to build a
new version of an external if the external version was
older.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions