iconv: add a strong preference on libiconv by default (#50020)

This strong preference fixes a sporadic issue when
concretizing environments with `unify:when_possible`.

In the first round of concretization, it is almost
certain that glibc is installed, and that spec might
provide iconv.

In later rounds using that as a provider might be
preferred, as it leads to less nodes to be "built".

To avoid duplication by default, prefer libiconv
in a stronger way than default preferences.

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Massimiliano Culpo 2025-04-14 09:39:54 +02:00 committed by GitHub
parent 620d5c7ef8
commit c5b227d14c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,6 +92,8 @@ packages:
buildable: false
hpcx-mpi:
buildable: false
iconv:
prefer: [libiconv]
mpt:
buildable: false
spectrum-mpi: