File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -132,14 +132,13 @@ function build_netcdf {
132
132
fi
133
133
else # use cmake for linux since autoconf fails for 4.9.0
134
134
# && 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 \
135
137
(cd netcdf-c-${NETCDF_VERSION} \
136
138
&& curl https://raw.githubusercontent.com/MacPython/netcdf4-python-wheels/master/CMakeLists.txt.patch -o CMakeLists.txt.patch \
137
139
&& patch -p0 < CMakeLists.txt.patch \
138
140
&& mkdir build \
139
141
&& cd build \
140
- && export HDF5_PLUGIN_PATH=$BUILD_PREFIX /lib/netcdf-plugins \
141
- && unset HDF5_PLUGIN_PATH \
142
- && mkdir -p $HDF5_PLUGIN_PATH \
143
142
&& cmake ../ -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} -DENABLE_NETCDF_4=ON -DENABLE_DAP=ON -DBUILD_SHARED_LIBS=ON -DENABLE_PLUGIN_INSTALL=NO=YES \
144
143
&& make -j4 \
145
144
&& make install \
You can’t perform that action at this time.
0 commit comments