Skip to content

Commit

Permalink
hdf5: conflicts zlib-ng+new_strategies (spack#43535)
Browse files Browse the repository at this point in the history
  • Loading branch information
skosukhin authored and arezaii committed Oct 22, 2024
1 parent 1767fa6 commit dd1bb3d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions var/spack/repos/builtin/packages/hdf5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,13 @@ class Hdf5(CMakePackage):

depends_on("java", type=("build", "run"), when="+java")
depends_on("szip", when="+szip")

depends_on("zlib-api")
# See https://github.com/HDFGroup/hdf5/pull/4147
depends_on(
"zlib-ng~new_strategies",
when="@:1.14.3,develop-1.8:develop-1.12 ^[virtuals=zlib-api] zlib-ng",
)

# The compiler wrappers (h5cc, h5fc, etc.) run 'pkg-config'.
# Skip this on Windows since pkgconfig is autotools
Expand Down

0 comments on commit dd1bb3d

Please sign in to comment.