-
Notifications
You must be signed in to change notification settings - Fork 681
/
ANTs-2.5.0-foss-2022b.eb
37 lines (26 loc) · 1018 Bytes
/
ANTs-2.5.0-foss-2022b.eb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
easyblock = 'CMakeMake'
name = 'ANTs'
version = '2.5.0'
homepage = 'https://stnava.github.io/ANTs/'
description = """ANTs extracts information from complex datasets that include imaging. ANTs is useful for managing,
interpreting and visualizing multidimensional data."""
toolchain = {'name': 'foss', 'version': '2022b'}
toolchainopts = {'pic': True}
source_urls = ['https://github.com/ANTsX/ANTs/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['326efda09608a19752e802acc46ed808a4fdb62765f11a4f26402a5aa8bc70ac']
builddependencies = [('CMake', '3.24.3')]
dependencies = [
('Python', '3.10.8'),
('VTK', '9.2.6'),
]
configopts = '-DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF '
configopts += '-DUSE_VTK=ON -DUSE_SYSTEM_VTK=ON '
configopts += '-DSuperBuild_ANTS_USE_GIT_PROTOCOL=OFF'
preinstallopts = "cd ANTS-build && "
sanity_check_paths = {
'files': ['bin/ANTS', 'bin/antsBrainExtraction.sh'],
'dirs': ['lib'],
}
modextravars = {'ANTSPATH': '%(installdir)s/bin'}
moduleclass = 'data'