summaryrefslogtreecommitdiff
path: root/COPYRIGHT
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-03-10 20:53:45 +0100
committerGitHub <noreply@github.com>2022-03-10 11:53:45 -0800
commit2cd5c0092352b5cfe14f5a47bdfa697a8f0a26e7 (patch)
treebcdaddee68a72ffda86721bc955fbeb8c4314250 /COPYRIGHT
parent3d624d204f6f7170a02f3f7b1bc168c390791068 (diff)
downloadspack-2cd5c0092352b5cfe14f5a47bdfa697a8f0a26e7.tar.gz
spack-2cd5c0092352b5cfe14f5a47bdfa697a8f0a26e7.tar.bz2
spack-2cd5c0092352b5cfe14f5a47bdfa697a8f0a26e7.tar.xz
spack-2cd5c0092352b5cfe14f5a47bdfa697a8f0a26e7.zip
Allow for multiple dependencies/dependents from the same package (#28673)
Change the internal representation of `Spec` to allow for multiple dependencies or dependents stemming from the same package. This change permits to represent cases which are frequent in cross compiled environments or to bootstrap compilers. Modifications: - [x] Substitute `DependencyMap` with `_EdgeMap`. The main differences are that the latter does not support direct item assignment and can be modified only through its API. It also provides a `select_by` method to query items. - [x] Reworked a few public APIs of `Spec` to get list of dependencies or related edges. - [x] Added unit tests to prevent regression on #11983 and prove the synthetic construction of specs with multiple deps from the same package. Since #22845 went in first, this PR reuses that format and thus it should not change hashes. The same package may be present multiple times in the list of dependencies with different associated specs (each with its own hash).
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions