summaryrefslogtreecommitdiff
path: root/.github/workflows/audit.yaml
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-07-11 15:29:56 +0200
committerGitHub <noreply@github.com>2024-07-11 15:29:56 +0200
commit5c539732204a04b1ca179890c22384aaf0b4fe60 (patch)
tree9758e6b1d592e1dddcce897ea067b25b7294df58 /.github/workflows/audit.yaml
parent278a38f4af4fcc45cf0e47a9986dd18b21a3bf70 (diff)
downloadspack-5c539732204a04b1ca179890c22384aaf0b4fe60.tar.gz
spack-5c539732204a04b1ca179890c22384aaf0b4fe60.tar.bz2
spack-5c539732204a04b1ca179890c22384aaf0b4fe60.tar.xz
spack-5c539732204a04b1ca179890c22384aaf0b4fe60.zip
concretize.lp: drop 0 weight of external providers (#45025)
If an external happens to be a provider of anything, the solver would set its weight to 0, meaning that it is most preferred, even if packages.yaml config disagrees. That was done so that `spack external find mpich` would be sufficent to pick it up as mpi provider. That may have made sense for mpi specifically, but doesn't make sense for other virtuals. For example `glibc` provides iconv, and is an external by design, but it's better to use libiconv as a separate package as a provider. Therefore, drop this rule, and instead let users add config: ``` mpi: require: [mpich] ``` or ``` mpi: buildable: false ``` which is well-documented.
Diffstat (limited to '.github/workflows/audit.yaml')
0 files changed, 0 insertions, 0 deletions