From 9c617dc90a363e0db707611dbc71c73b0bf209ba Mon Sep 17 00:00:00 2001 From: Patrick Lipka Date: Wed, 28 Sep 2022 11:29:37 +0200 Subject: [PATCH] netcdf configuration updated --- config/netcdf_c.json | 10 ++++++++-- config/netcdf_f.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/config/netcdf_c.json b/config/netcdf_c.json index 0631261..290a67d 100644 --- a/config/netcdf_c.json +++ b/config/netcdf_c.json @@ -1,4 +1,10 @@ { "name" : "netcdf-c", - "default version" : "4.2.1" -} \ No newline at end of file + "default version" : "4.9.0", + "dependencies" : "zlib,szip,curl,hdf5", + "download" : "git clone --depth 1 --branch v$VERSION https://github.com/Unidata/netcdf-c.git netcdf-c-$VERSION", + "configure" : "./configure --prefix=$PREFIX CPPFLAGS=-I$PREFIX/include LDFLAGS=-L$PREFIX/lib $SHARED --disable-dap", + "build" : "make -j $BUILDTHREADS", + "install" : "make install", + "object files" : "435" +} diff --git a/config/netcdf_f.json b/config/netcdf_f.json index a922f7b..52beb76 100644 --- a/config/netcdf_f.json +++ b/config/netcdf_f.json @@ -1,4 +1,10 @@ { "name" : "netcdf-f", - "default version" : "4.6.0" -} \ No newline at end of file + "default version" : "4.6.0", + "dependencies" : "zlib,szip,hdf5,curl,netcdf-c", + "download" : "git clone --depth 1 --branch v$VERSION https://github.com/Unidata/netcdf-fortran.git netcdf-f-$VERSION", + "configure" : "./configure --prefix=$PREFIX CPPFLAGS=-I$PREFIX/include LDFLAGS=-L$PREFIX/lib $SHARED", + "build" : "make -j $BUILDTHREADS", + "install" : "make install", + "object files" : "60" +}