Skip to content
Snippets Groups Projects
Commit bf2a8168 authored by Alexandre Strube's avatar Alexandre Strube
Browse files

Finally

parent 3997b94a
No related branches found
No related tags found
No related merge requests found
--- esmf/build/common.mk.orig 2013-11-26 16:58:50.958274359 +0100
+++ esmf/build/common.mk 2013-11-26 16:59:02.339274158 +0100
@@ -896,7 +896,7 @@
endif
ESMF_SL_LIBS_TO_MAKE = libesmf
ESMF_SL_LIBLINKER = $(ESMF_CXXCOMPILER)
-ESMF_SL_LIBOPTS +=
+ESMF_SL_LIBOPTS += $(ESMF_CXXCOMPILEOPTS)
ESMF_SL_LIBLIBS +=
# - Shared objects
name = 'ESMF' name = 'ESMF'
version = '8.4.0' version = '8.4.1'
homepage = 'https://www.earthsystemcog.org/projects/esmf/' homepage = 'https://www.earthsystemcog.org/projects/esmf/'
description = """The Earth System Modeling Framework (ESMF) is a suite of software tools for developing description = """The Earth System Modeling Framework (ESMF) is a suite of software tools for developing
...@@ -12,7 +12,7 @@ source_urls = ['https://github.com/esmf-org/esmf/archive/'] ...@@ -12,7 +12,7 @@ source_urls = ['https://github.com/esmf-org/esmf/archive/']
sources = ['v%(version)s.tar.gz'] sources = ['v%(version)s.tar.gz']
patches = ['ESMF-6.1.1_libopts.patch'] patches = ['ESMF-6.1.1_libopts.patch']
checksums = [ checksums = [
{'v8.4.0.tar.gz': '28531810bf1ae78646cda6494a53d455d194400f19dccd13d6361871de42ed0f'}, {'v8.4.1.tar.gz': '1b54cee91aacaa9df400bd284614cbb0257e175f6f3ec9977a2d991ed8aa1af6'},
{'ESMF-6.1.1_libopts.patch': '3851627f07c32a7da55d99072d619942bd3a1d9dd002e1557716158e7aacdaf4'}, {'ESMF-6.1.1_libopts.patch': '3851627f07c32a7da55d99072d619942bd3a1d9dd002e1557716158e7aacdaf4'},
] ]
...@@ -23,15 +23,31 @@ dependencies = [ ...@@ -23,15 +23,31 @@ dependencies = [
('netCDF-Fortran', '4.6.0'), ('netCDF-Fortran', '4.6.0'),
('netCDF-C++4', '4.3.1'), ('netCDF-C++4', '4.3.1'),
('libarchive', '3.6.1'), ('libarchive', '3.6.1'),
('PnetCDF', '1.12.3'),
] ]
# ESMF ignores xxFLAGS
preconfigopts = 'export ESMF_BOPT="O" && '
preconfigopts += 'export ESMF_OPTLEVEL="2" && '
preconfigopts += 'export ESMF_PNETCDF="standard && '
preconfigopts += 'export ESMF_PNETCDF_INCLUDE=$EBROOTPNETCDF/include && '
preconfigopts += 'export ESMF_PNETCDF_LIBPATH=$EBROOTPNETCDF/lib && '
preconfigopts += 'export ESMF_PNETCDF_LIBS=-lpnetcdf && '
preinstallopts = 'export ESMF_CXXLINKOPTS="-lmpifort" && '
preinstallopts += 'export ESMF_NETCDF_LIBS="$ESMF_NETCDF_LIBS -L${PNETCDF}/lib -lpnetcdf" &&'
preinstallopts += 'export ESMF_PNETCDF_INCLUDE=$EBROOTPNETCDF/include && '
preinstallopts += 'export ESMF_PNETCDF_LIBPATH=$EBROOTPNETCDF/lib && '
preinstallopts += 'export ESMF_PNETCDF_LIBS=-lpnetcdf && '
# disable errors from GCC 10 on mismatches between actual and dummy argument lists (GCC 9 behaviour) # disable errors from GCC 10 on mismatches between actual and dummy argument lists (GCC 9 behaviour)
prebuildopts = 'ESMF_F90COMPILEOPTS="${ESMF_F90COMPILEOPTS} -fallow-argument-mismatch"' # prebuildopts = 'ESMF_F90COMPILEOPTS="${ESMF_F90COMPILEOPTS} -fallow-argument-mismatch"'
buildopts = 'ESMF_NETCDF_INCLUDE=$EBROOTNETCDFMINFORTRAN/include ' buildopts = 'ESMF_NETCDF_INCLUDE=$EBROOTNETCDFMINFORTRAN/include '
buildopts += 'ESMF_NETCDF_LIBS="`nc-config --libs` `nf-config --flibs` `ncxx4-config --libs`"'
# too parallel causes the build to become really slow # too parallel causes the build to become really slow
maxparallel = 8 maxparallel = 16
moduleclass = 'geo' moduleclass = 'geo'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment