diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-06-27 12:19:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-27 12:19:17 +0200 |
commit | 09167fe8aca8309b5f5fec18d21f1814ec024b2b (patch) | |
tree | 04a8e22f990234bec5778329919039d0c2da2dfb | |
parent | eb7951818db05b778ff7fbab124c37c3c34131c2 (diff) | |
download | spack-09167fe8aca8309b5f5fec18d21f1814ec024b2b.tar.gz spack-09167fe8aca8309b5f5fec18d21f1814ec024b2b.tar.bz2 spack-09167fe8aca8309b5f5fec18d21f1814ec024b2b.tar.xz spack-09167fe8aca8309b5f5fec18d21f1814ec024b2b.zip |
ci: mgard build failure w/ system zlib (#44918)
The pcluster pipeline runs spack external find and autodetects the most ancient of zlib versions on the system: 1.2.7, release date May 3, 2012.
Turns out some packages require parts of the zlib api added within the last decade.
-rw-r--r-- | var/spack/repos/builtin/packages/mgard/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mgard/package.py b/var/spack/repos/builtin/packages/mgard/package.py index c3abc1a5cf..c11ab56c31 100644 --- a/var/spack/repos/builtin/packages/mgard/package.py +++ b/var/spack/repos/builtin/packages/mgard/package.py @@ -47,6 +47,7 @@ class Mgard(CMakePackage, CudaPackage): depends_on("python", type=("build",), when="@2022-11-18:") depends_on("sed", type=("build",), when="@2022-11-18:") depends_on("zlib-api") + depends_on("zlib@1.2.9:", when="^[virtuals=zlib-api] zlib") # crc32_z depends_on("pkgconfig", type=("build",), when="@2022-11-18:") depends_on("zstd") depends_on("protobuf@3.4:", when="@2022-11-18:") |