summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-06-29 15:07:07 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-07-01 18:45:44 -0700
commit515b4045e940b44ffe1295c483a78074abeae96c (patch)
treeb50b359b3fe60a1b5df1ace37941a3fb87931b8b /etc
parent12b9fad7b6bf578cf7d0c942e585e311cc9b4cb7 (diff)
downloadspack-515b4045e940b44ffe1295c483a78074abeae96c.tar.gz
spack-515b4045e940b44ffe1295c483a78074abeae96c.tar.bz2
spack-515b4045e940b44ffe1295c483a78074abeae96c.tar.xz
spack-515b4045e940b44ffe1295c483a78074abeae96c.zip
specs: remove parse_anonymous_spec(); use Spec() instead
- `parse_anonymous_spec()` is a vestige of the days when Spack didn't support nameless specs. We don't need it anymore because now we can write Spec() for a spec that will match anything, and satisfies() semantics work properly for anonymous specs. - Delete `parse_anonymous_spec()` and replace its uses with simple calls to the Spec() constructor. - make then handling of when='...' specs in directives more consistent. - clean up Spec.__contains__() - refactor directives and tests slightly to accommodate the change.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions