Skip to content

Commit 34fb599

Browse files
committed
don't try to build plugins
1 parent ff6bf62 commit 34fb599

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

Diff for: config.sh

+27-27
Original file line numberDiff line numberDiff line change
@@ -117,22 +117,22 @@ function build_netcdf {
117117
git checkout 43b03a4da72dfaaa004adb1a288111c06eaa60ae
118118
autoreconf -i
119119
cd ..
120-
if [ -n "$IS_MACOS" ]; then
121-
if [[ "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
122-
# no plugins installed
123-
(cd netcdf-c-${NETCDF_VERSION} \
124-
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap \
125-
&& make -j4 \
126-
&& make install )
127-
else
128-
# plugins installed
129-
(cd netcdf-c-${NETCDF_VERSION} \
130-
&& export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
131-
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \
132-
&& make -j4 \
133-
&& make install )
134-
fi
135-
else
120+
#if [ -n "$IS_MACOS" ]; then
121+
# if [[ "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
122+
# # no plugins installed
123+
# (cd netcdf-c-${NETCDF_VERSION} \
124+
# && ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap \
125+
# && make -j4 \
126+
# && make install )
127+
# else
128+
# # plugins installed
129+
# (cd netcdf-c-${NETCDF_VERSION} \
130+
# && export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
131+
# && ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \
132+
# && make -j4 \
133+
# && make install )
134+
# fi
135+
#else
136136
(cd netcdf-c-${NETCDF_VERSION} \
137137
&& mkdir build \
138138
&& cd build \
@@ -151,7 +151,7 @@ function build_netcdf {
151151
# && make -j4 \
152152
# && make install \
153153
# && ls -l $HDF5_PLUGIN_PATH )
154-
fi
154+
#fi
155155
touch netcdf-stamp
156156
}
157157

@@ -251,16 +251,16 @@ function build_blosc {
251251
function build_libs {
252252
echo "build_zlib"
253253
build_zlib
254-
echo "build_lzo"
255-
build_lzo
256-
echo "build_lzf"
257-
build_lzf
258-
echo "build_zstd"
259-
build_zstd
260-
echo "build_bzip2"
261-
build_bzip2
262-
echo "build_blosc"
263-
build_blosc
254+
# echo "build_lzo"
255+
# build_lzo
256+
# echo "build_lzf"
257+
# build_lzf
258+
# echo "build_zstd"
259+
# build_zstd
260+
# echo "build_bzip2"
261+
# build_bzip2
262+
# echo "build_blosc"
263+
# build_blosc
264264
echo "build_libaec"
265265
build_libaec
266266
echo "build_hdf5"

0 commit comments

Comments
 (0)