diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-12-01 07:45:48 +0100 |
---|---|---|
committer | Tamara Dahlgren <dahlgren1@llnl.gov> | 2021-02-17 17:07:18 -0800 |
commit | 22d7937c50fa56e8db3819ae1039c0bb26383bd1 (patch) | |
tree | 7c68f6028ed1e2722bd1565557af580a586b1b83 /pytest.ini | |
parent | 96283867d616f05db701b9256cb631eb0b4cc1c8 (diff) | |
download | spack-22d7937c50fa56e8db3819ae1039c0bb26383bd1.tar.gz spack-22d7937c50fa56e8db3819ae1039c0bb26383bd1.tar.bz2 spack-22d7937c50fa56e8db3819ae1039c0bb26383bd1.tar.xz spack-22d7937c50fa56e8db3819ae1039c0bb26383bd1.zip |
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.
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions