|
@@ -0,0 +1,35 @@
|
|
|
+name = 'netCDF'
|
|
|
+version = '4.7.4'
|
|
|
+
|
|
|
+homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
|
|
|
+description = """NetCDF (network Common Data Form) is a set of software libraries
|
|
|
+ and machine-independent data formats that support the creation, access, and sharing of array-oriented
|
|
|
+ scientific data."""
|
|
|
+
|
|
|
+toolchain = {'name': 'iimpi', 'version': '2020a'}
|
|
|
+toolchainopts = {'pic': True, 'usempi': True}
|
|
|
+
|
|
|
+source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
|
|
|
+sources = ['v%(version)s.tar.gz']
|
|
|
+checksums = ['99930ad7b3c4c1a8e8831fb061cb02b2170fc8e5ccaeda733bd99c3b9d31666b']
|
|
|
+
|
|
|
+builddependencies = [
|
|
|
+ ('Autotools', '20180311'),
|
|
|
+ ('CMake', '3.16.4'),
|
|
|
+ ('Doxygen', '1.8.17'),
|
|
|
+]
|
|
|
+
|
|
|
+dependencies = [
|
|
|
+ ('HDF5', '1.10.6'),
|
|
|
+ ('cURL', '7.69.1'),
|
|
|
+ ('Szip', '2.1.1'),
|
|
|
+]
|
|
|
+
|
|
|
+# make sure both static and shared libs are built
|
|
|
+configopts = [
|
|
|
+ '-DCMAKE_C_FLAGS="-O3 -march=core-avx2 -fma -ftz -fomit-frame-pointer -fp-speculation=safe -fp-model source -fPIC" ',
|
|
|
+ '-DBUILD_SHARED_LIBS=OFF ',
|
|
|
+ '-DBUILD_SHARED_LIBS=ON ',
|
|
|
+]
|
|
|
+
|
|
|
+moduleclass = 'data'
|