diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-05-24 13:25:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-24 13:25:59 +0200 |
commit | eef6a79b35f3c44e0e481209bbaca0fe8f0fa048 (patch) | |
tree | 6d7f3ba36afe8deef74617e4fae5864424c7008a | |
parent | 556a36cbd797a2c43b6c38ff58f212e7ed0d54d6 (diff) | |
download | spack-eef6a79b35f3c44e0e481209bbaca0fe8f0fa048.tar.gz spack-eef6a79b35f3c44e0e481209bbaca0fe8f0fa048.tar.bz2 spack-eef6a79b35f3c44e0e481209bbaca0fe8f0fa048.tar.xz spack-eef6a79b35f3c44e0e481209bbaca0fe8f0fa048.zip |
Prefer libiconv for iconv (#44335)
`glibc` and `musl` provide a basic implementation of `iconv` (`iconv`,
`iconv_open`, `iconv_close`), but in practice the installation may be
missing the character encoding methods to make them usable. On Fedora
for example, users need to
```yum install glibc-gconv-extra```
to get the character encodings that `gettext` requires during configure,
namely EUC-JP. Users may not have permissions to install the missing
parts of glibc.
Since Spack can install `libiconv`, it is simpler to use that by
default.
-rw-r--r-- | etc/spack/defaults/cray/packages.yaml | 19 | ||||
-rw-r--r-- | etc/spack/defaults/linux/packages.yaml | 19 |
2 files changed, 0 insertions, 38 deletions
diff --git a/etc/spack/defaults/cray/packages.yaml b/etc/spack/defaults/cray/packages.yaml deleted file mode 100644 index 6b2c5f2c56..0000000000 --- a/etc/spack/defaults/cray/packages.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------------- -# This file controls default concretization preferences for Spack. -# -# Settings here are versioned with Spack and are intended to provide -# sensible defaults out of the box. Spack maintainers should edit this -# file to keep it current. -# -# Users can override these settings by editing the following files. -# -# Per-spack-instance settings (overrides defaults): -# $SPACK_ROOT/etc/spack/packages.yaml -# -# Per-user settings (overrides default and site settings): -# ~/.spack/packages.yaml -# ------------------------------------------------------------------------- -packages: - all: - providers: - iconv: [glibc, musl, libiconv] diff --git a/etc/spack/defaults/linux/packages.yaml b/etc/spack/defaults/linux/packages.yaml deleted file mode 100644 index 6b2c5f2c56..0000000000 --- a/etc/spack/defaults/linux/packages.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------------- -# This file controls default concretization preferences for Spack. -# -# Settings here are versioned with Spack and are intended to provide -# sensible defaults out of the box. Spack maintainers should edit this -# file to keep it current. -# -# Users can override these settings by editing the following files. -# -# Per-spack-instance settings (overrides defaults): -# $SPACK_ROOT/etc/spack/packages.yaml -# -# Per-user settings (overrides default and site settings): -# ~/.spack/packages.yaml -# ------------------------------------------------------------------------- -packages: - all: - providers: - iconv: [glibc, musl, libiconv] |