diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-04-27 00:10:40 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-05-10 12:25:07 -0700 |
commit | 535c1fac87cc2323d2ac6ed6db35bfac78ad6a35 (patch) | |
tree | 0be34b7e1de80beaf1b9afd10984bf33b2f2608d /var | |
parent | 3b1898b8e479fc1e7d9b71a57f625f36485b1ac0 (diff) | |
download | spack-535c1fac87cc2323d2ac6ed6db35bfac78ad6a35.tar.gz spack-535c1fac87cc2323d2ac6ed6db35bfac78ad6a35.tar.bz2 spack-535c1fac87cc2323d2ac6ed6db35bfac78ad6a35.tar.xz spack-535c1fac87cc2323d2ac6ed6db35bfac78ad6a35.zip |
SPACK-56: fix Variant concretization.
- Variant concretization is tricky:
- During concretization, a spec without variants (e.g., mpich) means
"don't care". So, Spec('mpich').satisfies('mpich+debug') is true
because it *could* still be built that way.
- After concretization, a spec without a particular variant means
"don't know", as that wasn't part of the spec, so the opposite
relationship is true. Assume 'spec' is already installed:
spec.satisfies('mpich+debug')
this is false beacuse the `debug` variant didn't exist when spec
was built, so we can't satisfy the explicit request for +debug.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions