diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2017-08-27 18:07:55 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-09-30 02:06:59 -0700 |
commit | 0e8bb9ec5e6b674ecb8ebab15ac2a16666802f2a (patch) | |
tree | 862748c631b9ec3f7429f0e244d951d397b8de22 /etc | |
parent | a3cb6b61ea9c118defddda4ddff77fbd8670f5be (diff) | |
download | spack-0e8bb9ec5e6b674ecb8ebab15ac2a16666802f2a.tar.gz spack-0e8bb9ec5e6b674ecb8ebab15ac2a16666802f2a.tar.bz2 spack-0e8bb9ec5e6b674ecb8ebab15ac2a16666802f2a.tar.xz spack-0e8bb9ec5e6b674ecb8ebab15ac2a16666802f2a.zip |
Refactor Package dependency metadata
- Previously, dependencies and dependency_types were stored as separate
dicts on Package.
- This means a package can only depend on another in one specific way,
which is usually but not always true.
- Prior code unioned dependency types statically across dependencies on
the same package.
- New code stores dependency relationships as their own object, with a
spec constraint and a set of dependency types per relationship.
- Dependency types are now more precise
- There is now room to add more information to dependency relationships.
- New Dependency class lives in dependency.py, along with deptype
definitions that used to live in spack.spec.
Move deptype definitions to spack.dependency
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions