diff options
author | Greg Becker <becker33@llnl.gov> | 2022-11-06 16:49:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-06 16:49:35 -0800 |
commit | 4b84cd8af5195c44341c4cecd1dc061ed1790909 (patch) | |
tree | 610f1643fa8255832210076f888867b6e7a25fd1 /share | |
parent | fce7bf179f03466e348075ae27f109187af6f08e (diff) | |
download | spack-4b84cd8af5195c44341c4cecd1dc061ed1790909.tar.gz spack-4b84cd8af5195c44341c4cecd1dc061ed1790909.tar.bz2 spack-4b84cd8af5195c44341c4cecd1dc061ed1790909.tar.xz spack-4b84cd8af5195c44341c4cecd1dc061ed1790909.zip |
bugfix for matrices with dependencies by hash (#22991)
Dependencies specified by hash are unique in Spack in that the abstract
specs are created with internal structure. In this case, the constraint
generation for spec matrices fails due to flattening the structure.
It turns out that the dep_difference method for Spec.constrain does not
need to operate on transitive deps to ensure correctness. Removing transitive
deps from this method resolves the bug.
- [x] Includes regression test
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions