diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-06-23 22:36:29 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-06-23 13:36:29 -0700 |
commit | b7ca7274b8ac8969d2862e43babc9a7582c2d046 (patch) | |
tree | e0b246b04ffba001f1ab60882dc5b27ec27d8b5e /bin/spack-python | |
parent | 6c1c290a6362bc34199de1b8d81e8cad6d32e9a0 (diff) | |
download | spack-b7ca7274b8ac8969d2862e43babc9a7582c2d046.tar.gz spack-b7ca7274b8ac8969d2862e43babc9a7582c2d046.tar.bz2 spack-b7ca7274b8ac8969d2862e43babc9a7582c2d046.tar.xz spack-b7ca7274b8ac8969d2862e43babc9a7582c2d046.zip |
mv variants: packages are now needed only during normalization (#4129)
* mv variants: packages are now needed only during normalization
The relationship among different types of variants have been weakened,
in the sense that now it is permitted to compare MV, SV and BV among
each other. The mechanism that permits this is an implicit conversion
of the variant passed as argument to the type of the variant asking
to execute a constrain, satisfies, etc. operation.
* asbtract variant: added a new type of variant
An abstract variant is like a multi valued variant, but behaves
differently on "satisfies" requests, because it will reply "True"
to requests that **it could** satisfy eventually.
Tests have been modified to reflect the fact that abstract variants
are now what get parsed from expressions like `foo=bar` given by users.
* Removed 'concrete=' and 'normal=' kwargs from Spec.__init__
These two keyword arguments where only used in one test module to force
a Spec to 'appear' concrete. I suspect they are just a leftover from
another refactoring, as now there's the private method '_mark_concrete'
that does essentially the same job. Removed them to reduce a bit the
clutter in Spec.
* Moved yaml related functions from MultiValuedVariant to AbstractVariant.
This is to fix the erros that are occurring in epfl-scitas#73, and that
I can't reproduce locally.
Diffstat (limited to 'bin/spack-python')
0 files changed, 0 insertions, 0 deletions