summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2022-03-13 11:44:34 -0400
committerGitHub <noreply@github.com>2022-03-13 11:44:34 -0400
commit0a9e41770b85b78471501b718010b7c9238ad8b2 (patch)
treecc2617b922352d9948a83e6f30914a4c1dffab3c
parent717ac6ca0a697dfda89318918b555c6d1b813e48 (diff)
downloadspack-0a9e41770b85b78471501b718010b7c9238ad8b2.tar.gz
spack-0a9e41770b85b78471501b718010b7c9238ad8b2.tar.bz2
spack-0a9e41770b85b78471501b718010b7c9238ad8b2.tar.xz
spack-0a9e41770b85b78471501b718010b7c9238ad8b2.zip
itk: add MINC file support (#29470)
-rw-r--r--var/spack/repos/builtin/packages/itk/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/itk/package.py b/var/spack/repos/builtin/packages/itk/package.py
index 739e1e6c73..572fa50a72 100644
--- a/var/spack/repos/builtin/packages/itk/package.py
+++ b/var/spack/repos/builtin/packages/itk/package.py
@@ -32,6 +32,8 @@ class Itk(CMakePackage):
variant('review', default=False, description='enable modules under review')
variant('rtk', default=False,
description='build the RTK (Reconstruction Toolkit module')
+ variant('minc', default=False,
+ description='enable support for MINC files')
# TODO: This will not work if the resource is pulled from a spack mirror.
# The build process will checkout the appropriate commit but it needs to be
@@ -70,6 +72,8 @@ class Itk(CMakePackage):
force('ITK_USE_MKL', use_mkl),
from_variant('Module_ITKReview', 'review'),
from_variant('Module_RTK', 'rtk'),
+ from_variant('Module_ITKIOMINC', 'minc'),
+ from_variant('Module_ITKIOTransformMINC', 'minc')
]
if not use_mkl: