diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-08-10 18:04:26 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-11-17 10:04:13 -0800 |
commit | d94d9575360ad3a5078263fc63b5876f92237a3a (patch) | |
tree | 4dc71aaf2aafe9f190c503a16c2d41d295eb97cb /.flake8_packages | |
parent | b171ac5050d0118e58a465253d5d6cd23147ccfb (diff) | |
download | spack-d94d9575360ad3a5078263fc63b5876f92237a3a.tar.gz spack-d94d9575360ad3a5078263fc63b5876f92237a3a.tar.bz2 spack-d94d9575360ad3a5078263fc63b5876f92237a3a.tar.xz spack-d94d9575360ad3a5078263fc63b5876f92237a3a.zip |
concretizer: simplify and suppress warnings for variant handling
We are relying on default logic in the variant handling in that we set a
default value if we never see `variant_set(P, V, X)`.
- Move the logic for this into `concretize.lp` instead of generating it
for every package.
- For programs that don't have explicit variant settings, clingo warns
that variant_set(P, V, X) doesn't appear in any rule head, because a
setting is never generated.
- Specifically suppress this warning.
Diffstat (limited to '.flake8_packages')
0 files changed, 0 insertions, 0 deletions