netCDF-4.7.4-iimpi-2020a.eb 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. name = 'netCDF'
  2. version = '4.7.4'
  3. homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
  4. description = """NetCDF (network Common Data Form) is a set of software libraries
  5. and machine-independent data formats that support the creation, access, and sharing of array-oriented
  6. scientific data."""
  7. toolchain = {'name': 'iimpi', 'version': '2020a'}
  8. toolchainopts = {'pic': True, 'usempi': True}
  9. source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
  10. sources = ['v%(version)s.tar.gz']
  11. checksums = ['99930ad7b3c4c1a8e8831fb061cb02b2170fc8e5ccaeda733bd99c3b9d31666b']
  12. builddependencies = [
  13. ('Autotools', '20180311'),
  14. ('CMake', '3.16.4'),
  15. ('Doxygen', '1.8.17'),
  16. ]
  17. dependencies = [
  18. ('HDF5', '1.10.6'),
  19. ('cURL', '7.69.1'),
  20. ('Szip', '2.1.1'),
  21. ]
  22. # make sure both static and shared libs are built
  23. configopts = [
  24. '-DCMAKE_C_FLAGS="-O3 -march=core-avx2 -fma -ftz -fomit-frame-pointer -fp-speculation=safe -fp-model source -fPIC" ',
  25. '-DBUILD_SHARED_LIBS=OFF ',
  26. '-DBUILD_SHARED_LIBS=ON ',
  27. ]
  28. moduleclass = 'data'