summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Conrads <christoph.conrads@inria.fr>2022-02-15 23:09:08 +0100
committerGitHub <noreply@github.com>2022-02-15 15:09:08 -0700
commit9da8f18e3a2246766a7ef4f99fbf5da59bb47167 (patch)
tree0e297f3aac4bf22dae4b90d3ca83c45e26213bc1
parentf70798727567a85c5586f0007a9dc803880e3050 (diff)
downloadspack-9da8f18e3a2246766a7ef4f99fbf5da59bb47167.tar.gz
spack-9da8f18e3a2246766a7ef4f99fbf5da59bb47167.tar.bz2
spack-9da8f18e3a2246766a7ef4f99fbf5da59bb47167.tar.xz
spack-9da8f18e3a2246766a7ef4f99fbf5da59bb47167.zip
FEniCS: avoid HDF5 version 1.12+ (#28920)
The new HDF5 version 1.12 API causes compiler errors due to modified function prototypes. Note that version 1.11 is the development version of HDF5 1.12.
-rw-r--r--var/spack/repos/builtin/packages/fenics/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/fenics/package.py b/var/spack/repos/builtin/packages/fenics/package.py
index 1fb6a041ef..5e49137682 100644
--- a/var/spack/repos/builtin/packages/fenics/package.py
+++ b/var/spack/repos/builtin/packages/fenics/package.py
@@ -100,8 +100,8 @@ class Fenics(CMakePackage):
depends_on('boost+filesystem+program_options+system+iostreams+timer+regex+chrono@1.68.0', when='@:2018')
depends_on('mpi', when='+mpi')
- depends_on('hdf5+hl+fortran', when='+hdf5+petsc')
- depends_on('hdf5+hl', when='+hdf5~petsc')
+ depends_on('hdf5@:1.10+hl+fortran', when='+hdf5+petsc')
+ depends_on('hdf5@:1.10+hl', when='+hdf5~petsc')
depends_on('metis+real64', when='+parmetis')
depends_on('parmetis', when='+parmetis')
depends_on('scotch~metis', when='+scotch~mpi')