diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-10-08 17:39:59 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-11-17 10:04:13 -0800 |
commit | 501cb371c90f3bb3aaa6e12d6d5cd2e6a60e302b (patch) | |
tree | 6cab720a1250cdd2b1f6ff280fccc80384e3582a /var | |
parent | 1cab1b19949791028db0bdb5d4361fd780686faa (diff) | |
download | spack-501cb371c90f3bb3aaa6e12d6d5cd2e6a60e302b.tar.gz spack-501cb371c90f3bb3aaa6e12d6d5cd2e6a60e302b.tar.bz2 spack-501cb371c90f3bb3aaa6e12d6d5cd2e6a60e302b.tar.xz spack-501cb371c90f3bb3aaa6e12d6d5cd2e6a60e302b.zip |
concretizer: handle variant defaults with optimization
- Instead of using default logic, handle variant defaults by minimizing
the number of non-default variants in the solution.
- This actually seems to be pretty fast, and it fixes the long-standing
issue that writing this:
spack install hdf5 ^mpich
will fail if you don't specify hdf5+mpi. With optimization and
allowing enums to be enumerated, the solver seems to be able to quickly
discover that +mpi is the only way hdf5 can depend on mpich, and it
forces the switch to be thrown.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions