summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2021-05-20 13:01:21 -0400
committerGitHub <noreply@github.com>2021-05-20 17:01:21 +0000
commitef12b0cb8f5eaf3cbbaa76afb9ab4fdd075fd0e8 (patch)
treead51f18424f841eeac6f918b4ef07f496411faed
parent7c8b5a4e3a2f4d3a5291c8df1396f8f3e0e1b2a0 (diff)
downloadspack-ef12b0cb8f5eaf3cbbaa76afb9ab4fdd075fd0e8.tar.gz
spack-ef12b0cb8f5eaf3cbbaa76afb9ab4fdd075fd0e8.tar.bz2
spack-ef12b0cb8f5eaf3cbbaa76afb9ab4fdd075fd0e8.tar.xz
spack-ef12b0cb8f5eaf3cbbaa76afb9ab4fdd075fd0e8.zip
ants: add v2.3.5 (#23752)
-rw-r--r--var/spack/repos/builtin/packages/ants/package.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ants/package.py b/var/spack/repos/builtin/packages/ants/package.py
index 483a59e983..6c3c2232af 100644
--- a/var/spack/repos/builtin/packages/ants/package.py
+++ b/var/spack/repos/builtin/packages/ants/package.py
@@ -15,13 +15,21 @@ class Ants(CMakePackage):
processing library to which ANTs developers contribute.
"""
- homepage = "http://stnava.github.io/ANTs/"
+ homepage = "https://stnava.github.io/ANTs/"
url = "https://github.com/ANTsX/ANTs/archive/v2.2.0.tar.gz"
+ version('2.3.5', sha256='2fddfd5f274a47f1c383e734a7e763b627c4a8383d2d3b9971561f335016bb0a')
version('2.2.0', sha256='62f8f9ae141cb45025f4bb59277c053acf658d4a3ba868c9e0f609af72e66b4a')
depends_on('zlib', type='link')
+ variant('minc', default=True, description='Build ITK with MINC support')
+
+ def cmake_args(self):
+ return [
+ self.define_from_variant('ITK_BUILD_MINC_SUPPORT', 'minc')
+ ]
+
def install(self, spec, prefix):
with working_dir(
join_path(self.build_directory, 'ANTS-build'),