itk: misc fixes (#39832)

* itk: patch missing include for newer compilers

* itk: The package doesn't use MPI

* itk: package requires the high-level hdf5 api

* itk: patch url with ?full_index=1

* itk: point to 4041 commit in master

* itk: don't constrain hdf5 with ~mpi
This commit is contained in:
Carlos Bederián 2023-10-26 19:13:27 -03:00 committed by GitHub
parent c3f5ee54d4
commit 546695f193
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,13 +58,18 @@ class Itk(CMakePackage):
depends_on("expat")
depends_on("fftw-api")
depends_on("googletest")
depends_on("hdf5+cxx")
depends_on("hdf5+cxx+hl")
depends_on("jpeg")
depends_on("libpng")
depends_on("libtiff")
depends_on("mpi")
depends_on("zlib-api")
patch(
"https://github.com/InsightSoftwareConsortium/ITK/commit/9a719a0d2f5f489eeb9351b0ef913c3693147a4f.patch?full_index=1",
sha256="ec1f7fa71f2b7f05d9632c6b0321e7d436fff86fca92c60c12839b13ea79bd70",
when="@5.2.0:5.3.0",
)
def cmake_args(self):
use_mkl = "^mkl" in self.spec
args = [