summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2020-12-05 21:22:20 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2020-12-07 17:18:33 -0800
commit1343a815c02421fb94ddb2b80af76d35760bf4c4 (patch)
tree067bb14ea66de888bb6bf4a606a28d054834e3e2 /etc
parent8035a52f7b8e3e8dd8cb02b4fbf32613d0cf260e (diff)
downloadspack-1343a815c02421fb94ddb2b80af76d35760bf4c4.tar.gz
spack-1343a815c02421fb94ddb2b80af76d35760bf4c4.tar.bz2
spack-1343a815c02421fb94ddb2b80af76d35760bf4c4.tar.xz
spack-1343a815c02421fb94ddb2b80af76d35760bf4c4.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 'etc')
0 files changed, 0 insertions, 0 deletions