Skip to content

Commit 7574cc4

Browse files
committed
update
1 parent b1b5fef commit 7574cc4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,13 @@ function build_netcdf {
132132
fi
133133
else # use cmake for linux since autoconf fails for 4.9.0
134134
# && cmake ../ -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} -DENABLE_NETCDF_4=ON -DENABLE_DAP=ON -DBUILD_SHARED_LIBS=ON -DPLUGIN_INSTALL_DIR=YES \
135+
# && export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
136+
# && mkdir -p $HDF5_PLUGIN_PATH \
135137
(cd netcdf-c-${NETCDF_VERSION} \
136138
&& curl https://raw.githubusercontent.com/MacPython/netcdf4-python-wheels/master/CMakeLists.txt.patch -o CMakeLists.txt.patch \
137139
&& patch -p0 < CMakeLists.txt.patch \
138140
&& mkdir build \
139141
&& cd build \
140-
&& export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
141-
&& unset HDF5_PLUGIN_PATH \
142-
&& mkdir -p $HDF5_PLUGIN_PATH \
143142
&& cmake ../ -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} -DENABLE_NETCDF_4=ON -DENABLE_DAP=ON -DBUILD_SHARED_LIBS=ON -DENABLE_PLUGIN_INSTALL=NO=YES \
144143
&& make -j4 \
145144
&& make install \

0 commit comments

Comments
 (0)