ESMF-8.9.0-foss-2025b.eb 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. name = 'ESMF'
  2. version = '8.9.0'
  3. homepage = 'https://github.com/esmf-org/esmf'
  4. description = """The Earth System Modeling Framework (ESMF) is a suite of software tools for developing
  5. high-performance, multi-component Earth science modeling applications."""
  6. toolchain = {'name': 'foss', 'version': '2025b'}
  7. toolchainopts = {'usempi': True, 'openmp': True, 'cstd': 'c++11', 'pic': True}
  8. source_urls = ['https://github.com/esmf-org/esmf/archive/']
  9. sources = ['v%(version)s.tar.gz']
  10. patches = ['ESMF-8.9.0_libopts.patch']
  11. checksums = [
  12. {'v8.9.0.tar.gz': '586e0101d76ff9842d9ad43567fae50317ee794d80293430d9f1847dec0eefa5'},
  13. {'ESMF-8.9.0_libopts.patch': '336fe13aeb2a751a43d318393f8a75e2a3c6887bb38a63f769032559eef93760'},
  14. ]
  15. builddependencies = [('CMake', '3.31.8')]
  16. dependencies = [
  17. ('netCDF', '4.9.3'),
  18. ('netCDF-Fortran', '4.6.2'),
  19. ('netCDF-C++4', '4.3.1'),
  20. ('libarchive', '3.8.1'),
  21. ]
  22. # disable errors from GCC 10 on mismatches between actual and dummy argument lists (GCC 9 behaviour)
  23. #prebuildopts = 'ESMF_F90COMPILEOPTS="${ESMF_F90COMPILEOPTS} -fallow-argument-mismatch"'
  24. buildopts = 'ESMF_NETCDF_INCLUDE=$EBROOTNETCDFMINFORTRAN/include '
  25. buildopts += 'ESMF_NETCDF_LIBS="`nc-config --libs` `nf-config --flibs` `ncxx4-config --libs`"'
  26. # too parallel causes the build to become really slow
  27. maxparallel = 8
  28. moduleclass = 'geo'