summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMittagskogel <fhoerold@ethz.ch>2023-05-06 00:19:39 +0200
committerGitHub <noreply@github.com>2023-05-05 18:19:39 -0400
commit4403df4f08a4947fb292fe60e513c7d76b873f27 (patch)
treefc50d9211a9cf808a9f62a1f1c7d5a3db6e29c87
parent7cf45442a745671b5fd378b0cbccf7f223fb4aac (diff)
downloadspack-4403df4f08a4947fb292fe60e513c7d76b873f27.tar.gz
spack-4403df4f08a4947fb292fe60e513c7d76b873f27.tar.bz2
spack-4403df4f08a4947fb292fe60e513c7d76b873f27.tar.xz
spack-4403df4f08a4947fb292fe60e513c7d76b873f27.zip
hdf5: Add conflict for older cmake versions. (#37463)
See HDFGroup/hdf5 issue 2906
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index 7b948087c9..66c1b38d64 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -238,6 +238,10 @@ class Hdf5(CMakePackage):
conflicts("+fortran", when="+shared@:1.8.15")
# See https://github.com/spack/spack/issues/31085
conflicts("+fortran+mpi", when="@1.8.22")
+ # See https://github.com/HDFGroup/hdf5/issues/2906#issue-1697749645
+ conflicts(
+ "+fortran", when="@1.13.3:^cmake@:3.22", msg="cmake_minimum_required is not set correctly."
+ )
# There are several officially unsupported combinations of the features:
# 1. Thread safety is not guaranteed via high-level C-API but in some cases