diff options
author | Carlos Bederián <4043375+zzzoom@users.noreply.github.com> | 2023-10-26 19:13:27 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 15:13:27 -0700 |
commit | 546695f19305ef8a29f15be4289f5862f386a096 (patch) | |
tree | 2b1314442772a9f93093d2761113601392b2d205 /var | |
parent | c3f5ee54d42ef1f7e62a65cde6377edcb33a014f (diff) | |
download | spack-546695f19305ef8a29f15be4289f5862f386a096.tar.gz spack-546695f19305ef8a29f15be4289f5862f386a096.tar.bz2 spack-546695f19305ef8a29f15be4289f5862f386a096.tar.xz spack-546695f19305ef8a29f15be4289f5862f386a096.zip |
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
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/itk/package.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/itk/package.py b/var/spack/repos/builtin/packages/itk/package.py index bd20a28d3d..d0123b60f6 100644 --- a/var/spack/repos/builtin/packages/itk/package.py +++ b/var/spack/repos/builtin/packages/itk/package.py @@ -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 = [ |