spack/lib/spack
Todd Gamblin 7383bd393e Fixed bug #42: problem with satisfies() for virtual dependencies.
- _cross_provider_maps() had suffered some bit rot (map returned was
  ill-formed but still worked for cases with one vdep)

- ProviderIndex.satisfies() was only checking whether the result map
  was non-empty.  It should check whether all common vdeps are *in*
  the result map, as that indicates there is *some* way to satisfy
  *all* of them.  We were checking whether there was some way to
  satisfy *any one* of them, which is wrong.

- Above would cause a problem when there is more than one vdep provider.

- Added test that covers this case.

- Added `constrained()` method to Spec. Analogous to `normalized()`:
  `constrain():constrained() :: normalize():normalized()`
2015-11-27 23:06:18 -08:00
..
docs Add Spack logo. 2015-10-18 19:14:40 -07:00
env Basic support for IBM XL compilers 2015-05-07 01:54:18 -05:00
external Insert lib/spack/external into sys.path. This avoids cases where the system 2015-11-11 18:04:22 -08:00
llnl Merge Greg Becker's build database support into develop. 2015-10-29 02:22:20 -07:00
spack Fixed bug #42: problem with satisfies() for virtual dependencies. 2015-11-27 23:06:18 -08:00