spack/lib/spack
Massimiliano Culpo 22d7937c50 concretizer: swap priority of selecting provider and default variant (#20182)
refers #20040

Before this PR optimization rules would have selected default
providers at a higher priority than default variants. Here we
swap this priority and we consider variants that are forced by
any means (root spec or spec in depends_on clause) the same as
if they were with a default value.

This prevents the solver from avoiding expected configurations
just because they contain directives like:

depends_on('pkg+foo')

and `+foo` is not the default variant value for pkg.
2021-02-17 17:07:18 -08:00
..
docs Typos: add missing closing parens (#20174) 2021-02-17 17:07:17 -08:00
env Support parallel environment builds (#18131) 2020-11-17 02:41:07 -08:00
external spack test (#15702) 2020-11-18 02:39:02 -08:00
llnl spack test (#15702) 2020-11-18 02:39:02 -08:00
spack concretizer: swap priority of selecting provider and default variant (#20182) 2021-02-17 17:07:18 -08:00