Skip to content

Commit

Permalink
don't try to build plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Jun 7, 2024
1 parent ff6bf62 commit 34fb599
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,22 +117,22 @@ function build_netcdf {
git checkout 43b03a4da72dfaaa004adb1a288111c06eaa60ae
autoreconf -i
cd ..
if [ -n "$IS_MACOS" ]; then
if [[ "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
# no plugins installed
(cd netcdf-c-${NETCDF_VERSION} \
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap \
&& make -j4 \
&& make install )
else
# plugins installed
(cd netcdf-c-${NETCDF_VERSION} \
&& export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \
&& make -j4 \
&& make install )
fi
else
#if [ -n "$IS_MACOS" ]; then
# if [[ "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
# # no plugins installed
# (cd netcdf-c-${NETCDF_VERSION} \
# && ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap \
# && make -j4 \
# && make install )
# else
# # plugins installed
# (cd netcdf-c-${NETCDF_VERSION} \
# && export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
# && ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \
# && make -j4 \
# && make install )
# fi
#else
(cd netcdf-c-${NETCDF_VERSION} \
&& mkdir build \
&& cd build \
Expand All @@ -151,7 +151,7 @@ function build_netcdf {
# && make -j4 \
# && make install \
# && ls -l $HDF5_PLUGIN_PATH )
fi
#fi
touch netcdf-stamp
}

Expand Down Expand Up @@ -251,16 +251,16 @@ function build_blosc {
function build_libs {
echo "build_zlib"
build_zlib
echo "build_lzo"
build_lzo
echo "build_lzf"
build_lzf
echo "build_zstd"
build_zstd
echo "build_bzip2"
build_bzip2
echo "build_blosc"
build_blosc
# echo "build_lzo"
# build_lzo
# echo "build_lzf"
# build_lzf
# echo "build_zstd"
# build_zstd
# echo "build_bzip2"
# build_bzip2
# echo "build_blosc"
# build_blosc
echo "build_libaec"
build_libaec
echo "build_hdf5"
Expand Down

0 comments on commit 34fb599

Please sign in to comment.