diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-04-30 07:40:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 07:40:00 +0200 |
commit | d47951a1e3db6bbf884bf94a1abde2e0d5e1aa13 (patch) | |
tree | 05dba7b5c659153504aabd21b9e7ec35ffcff18c /etc | |
parent | f2bd0c5cf15c2f12dd61060aef5de2ddbfe2ea99 (diff) | |
download | spack-d47951a1e3db6bbf884bf94a1abde2e0d5e1aa13.tar.gz spack-d47951a1e3db6bbf884bf94a1abde2e0d5e1aa13.tar.bz2 spack-d47951a1e3db6bbf884bf94a1abde2e0d5e1aa13.tar.xz spack-d47951a1e3db6bbf884bf94a1abde2e0d5e1aa13.zip |
glibc: provides iconv (#43897)
`iconv` is a bit of weird virtual because the only shared API between
`glibc` and `libiconv` is:
```
iconv
iconv_open
iconv_close
```
whereas `libiconv` has further symbols [iconvctl](https://www.gnu.org/software/libiconv/documentation/libiconv-1.17/iconvctl.3.html), [iconv_open_into](https://www.gnu.org/software/libiconv/documentation/libiconv-1.17/iconv_open_into.3.html), and an `iconv` executable and `libcharset.so`. Packages that need those will have to do `depends_on("[virtuals=iconv] libiconv")`.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/spack/defaults/cray/packages.yaml | 19 | ||||
-rw-r--r-- | etc/spack/defaults/linux/packages.yaml | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/etc/spack/defaults/cray/packages.yaml b/etc/spack/defaults/cray/packages.yaml new file mode 100644 index 0000000000..6b2c5f2c56 --- /dev/null +++ b/etc/spack/defaults/cray/packages.yaml @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------------- +# 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 new file mode 100644 index 0000000000..6b2c5f2c56 --- /dev/null +++ b/etc/spack/defaults/linux/packages.yaml @@ -0,0 +1,19 @@ +# ------------------------------------------------------------------------- +# 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] |