diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-11-26 13:10:48 +0100 |
---|---|---|
committer | Tamara Dahlgren <dahlgren1@llnl.gov> | 2021-02-17 17:07:16 -0800 |
commit | b326d59e10046f75b65c8fcbeb691faa5ea7a71a (patch) | |
tree | c1b1bf5717653b519f70148c3268fe9eca3b40c7 /LICENSE-APACHE | |
parent | 0ae49821e2e1ccb6fd179b1b020e263c1d9db8f2 (diff) | |
download | spack-b326d59e10046f75b65c8fcbeb691faa5ea7a71a.tar.gz spack-b326d59e10046f75b65c8fcbeb691faa5ea7a71a.tar.bz2 spack-b326d59e10046f75b65c8fcbeb691faa5ea7a71a.tar.xz spack-b326d59e10046f75b65c8fcbeb691faa5ea7a71a.zip |
concretizer: prioritize matching compilers over newer versions (#20020)
fixes #20019
Before this modification having a newer version of a node came
at higher priority in the optimization than having matching
compilers. This could result in unexpected configurations for
packages with conflict directives on compilers of the type:
conflicts('%gcc@X.Y:', when='@:A.B')
where changing the compiler for just that node is preferred to
lower the node version to less than 'A.B'. Now the priority has
been switched so the solver will try to lower the version of the
nodes in question before changing their compiler.
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions