From 099a16ed8ff27ecb2186d26034db8347acef10f3 Mon Sep 17 00:00:00 2001 From: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> Date: Tue, 1 Feb 2022 08:50:11 -0600 Subject: [PATCH] ParaView/VTK: Update hdf5 constraints (#28691) hdf5@1.10: is required for the new version of vtkHDFReader --- var/spack/repos/builtin/packages/paraview/package.py | 1 + var/spack/repos/builtin/packages/vtk/package.py | 1 + 2 files changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py index b4fa84869f..677ed9d669 100644 --- a/var/spack/repos/builtin/packages/paraview/package.py +++ b/var/spack/repos/builtin/packages/paraview/package.py @@ -150,6 +150,7 @@ class Paraview(CMakePackage, CudaPackage): # depends_on('hdf5~mpi', when='~mpi') depends_on('hdf5+hl+mpi', when='+hdf5+mpi') depends_on('hdf5+hl~mpi', when='+hdf5~mpi') + depends_on('hdf5@1.10:', when='+hdf5 @5.10:') depends_on('adios2+mpi', when='+adios2+mpi') depends_on('adios2~mpi', when='+adios2~mpi') depends_on('jpeg') diff --git a/var/spack/repos/builtin/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py index 024bd26950..9f064e2ded 100644 --- a/var/spack/repos/builtin/packages/vtk/package.py +++ b/var/spack/repos/builtin/packages/vtk/package.py @@ -110,6 +110,7 @@ class Vtk(CMakePackage): depends_on('glew') # set hl variant explicitly, similar to issue #7145 depends_on('hdf5+hl') + depends_on('hdf5@1.10:', when='@9.1:') depends_on('jpeg') depends_on('jsoncpp') depends_on('libxml2')