forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: HDF-4.2.16-GCCcore-12.3.0.eb
- Loading branch information
1 parent
deadea9
commit 128cb36
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'HDF' | ||
version = '4.2.16' | ||
|
||
homepage = 'https://www.hdfgroup.org/products/hdf4/' | ||
|
||
description = """ | ||
HDF (also known as HDF4) is a library and multi-object file format for | ||
storing and managing data between machines. | ||
""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '12.3.0'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = ['http://www.hdfgroup.org/ftp/HDF/releases/HDF%(version)s/src/'] | ||
sources = [SOURCELOWER_TAR_GZ] | ||
checksums = ['2bd48dcefb5ab4829fba27dca6fad20b842d495dfd64944b2412b2b0968bf167'] | ||
|
||
builddependencies = [ | ||
('binutils', '2.40'), | ||
('Bison', '3.8.2'), | ||
('flex', '2.6.4'), | ||
] | ||
|
||
dependencies = [ | ||
('libjpeg-turbo', '2.1.5.1'), | ||
('Szip', '2.1.1'), | ||
('zlib', '1.2.13'), | ||
('libtirpc', '1.3.3'), | ||
] | ||
|
||
local_common_configopts = '--with-szlib=$EBROOTSZIP CFLAGS="$CFLAGS -I$EBROOTLIBTIRPC/include/tirpc" ' | ||
local_common_configopts += '--includedir=%(installdir)s/include/%(namelower)s ' | ||
configopts = [ | ||
local_common_configopts, | ||
# netcdf must be disabled to allow HDF to be used by GDAL | ||
local_common_configopts + "--enable-shared --disable-netcdf", | ||
] | ||
|
||
modextrapaths = {'CPATH': 'include/hdf'} | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/h4cc', 'bin/ncdump', 'lib/libdf.a', 'lib/libhdf4.settings', 'lib/libmfhdf.a', | ||
'lib/libmfhdf.%s' % SHLIB_EXT], | ||
'dirs': ['include/hdf'], | ||
} | ||
|
||
sanity_check_commands = [ | ||
"h4cc --help", | ||
"ncdump -V", | ||
] | ||
|
||
moduleclass = 'data' |