diff options
author | Robert Underwood <robertu94@users.noreply.github.com> | 2024-02-08 13:52:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 19:52:37 +0100 |
commit | af49f81ec598dbb214f13591c28929b34ba9a22f (patch) | |
tree | 8573aaa8c58189ad3e8071082bb7cb8c063a97a7 | |
parent | db1a7406ca9de97f7e46bdafe791e5be2da1e168 (diff) | |
download | spack-af49f81ec598dbb214f13591c28929b34ba9a22f.tar.gz spack-af49f81ec598dbb214f13591c28929b34ba9a22f.tar.bz2 spack-af49f81ec598dbb214f13591c28929b34ba9a22f.tar.xz spack-af49f81ec598dbb214f13591c28929b34ba9a22f.zip |
libice fix for older glibc (#42586)
-rw-r--r-- | var/spack/repos/builtin/packages/libice/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libice/package.py b/var/spack/repos/builtin/packages/libice/package.py index 1005cbb6c5..5a7565b5e7 100644 --- a/var/spack/repos/builtin/packages/libice/package.py +++ b/var/spack/repos/builtin/packages/libice/package.py @@ -21,6 +21,11 @@ class Libice(AutotoolsPackage, XorgPackage): version("1.0.10", sha256="1116bc64c772fd127a0d0c0ffa2833479905e3d3d8197740b3abd5f292f22d2d") version("1.0.9", sha256="7812a824a66dd654c830d21982749b3b563d9c2dfe0b88b203cefc14a891edc0") + # technically libbsd is only required when glibc < 2.36 which provides arc4random_buf, + # but spack doesn't currently have a good way to model this so we depend on it unconditionally + depends_on("libbsd", when="platform=linux") + depends_on("libbsd", when="platform=cray") + depends_on("xproto") depends_on("xtrans") depends_on("pkgconfig", type="build") |