diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2020-12-05 21:22:20 -0800 |
---|---|---|
committer | Tamara Dahlgren <dahlgren1@llnl.gov> | 2021-02-17 17:07:23 -0800 |
commit | 0e725f0ab18d1bc064d42111e3be3e8e27a5850e (patch) | |
tree | 84fd039d5c40f6dc816d8d5876b387d3eaf89ed6 /.github/workflows/macos_python.yml | |
parent | 9499dc4a7ed5037d4ee87385b621ed3910ac3969 (diff) | |
download | spack-0e725f0ab18d1bc064d42111e3be3e8e27a5850e.tar.gz spack-0e725f0ab18d1bc064d42111e3be3e8e27a5850e.tar.bz2 spack-0e725f0ab18d1bc064d42111e3be3e8e27a5850e.tar.xz spack-0e725f0ab18d1bc064d42111e3be3e8e27a5850e.zip |
concretizer: refactor handling of special variants dev_build and patches
Other parts of the concretizer code build up lists of things we can't
know without traversing all specs and packages, and they output these
list at the very end.
The code for this for variant values from spec literals was intertwined
with the code for traversing the input specs. This only covers the input
specs and misses variant values that might come from directives in
packages.
- [x] move ad-hoc value handling code into spec_clauses so we do it in
one place for CLI and packages
- [x] move handling of `variant_possible_value`, etc. into
`concretize.lp`, where we can automatically infer variant existence
more concisely.
- [x] simplify/clarify some of the code for variants in `spec_clauses()`
Diffstat (limited to '.github/workflows/macos_python.yml')
0 files changed, 0 insertions, 0 deletions