File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ function build_zstd {
107
107
108
108
function build_netcdf {
109
109
if [ -e netcdf-stamp ]; then return ; fi
110
- fetch_unpack https://downloads.unidata.ucar.edu/netcdf-c/${NETCDF_VERSION} /netcdf-c-${NETCDF_VERSION} .tar.gz
110
+ # fetch_unpack https://downloads.unidata.ucar.edu/netcdf-c/${NETCDF_VERSION}/netcdf-c-${NETCDF_VERSION}.tar.gz
111
+ git clone https://github.com/Unidata/netcdf-c netcdf-c-${NETCDF_VERSION}
111
112
if [ -n " $IS_MACOS " ]; then
112
113
if [[ " $PLAT " = " arm64" ]] && [[ " $CROSS_COMPILING " = " 1" ]]; then
113
114
# no plugins installed
@@ -124,7 +125,7 @@ function build_netcdf {
124
125
&& make install )
125
126
fi
126
127
else
127
- # plugins installed
128
+ # use autotools, plugins installed
128
129
(cd netcdf-c-${NETCDF_VERSION} \
129
130
&& export HDF5_PLUGIN_PATH=$BUILD_PREFIX /lib/netcdf-plugins \
130
131
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \
You can’t perform that action at this time.
0 commit comments