Skip to content

Commit 1efde5e

Browse files
author
Jeff Whitaker
committed
try github main
1 parent b9321e2 commit 1efde5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ function build_zstd {
107107

108108
function build_netcdf {
109109
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}
111112
if [ -n "$IS_MACOS" ]; then
112113
if [[ "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
113114
# no plugins installed
@@ -124,7 +125,7 @@ function build_netcdf {
124125
&& make install )
125126
fi
126127
else
127-
# plugins installed
128+
# use autotools, plugins installed
128129
(cd netcdf-c-${NETCDF_VERSION} \
129130
&& export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
130131
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \

0 commit comments

Comments
 (0)