Skip to content

Commit dd83212

Browse files
author
Jeff Whitaker
committed
try turning off all plugin stuff
1 parent e154a46 commit dd83212

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

config.sh

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ export BZIP2_VERSION="1.0.8"
2020
export BLOSC_VERSION="1.21.1"
2121

2222
# custom version that sets NETCDF_PLUGIN_DIR env var
23-
function build_wheel {
24-
# Set default building method to pip
25-
export NETCDF_PLUGIN_DIR=${BUILD_PREFIX}/lib/netcdf-plugins
26-
wrap_wheel_builder build_pip_wheel $@
27-
}
23+
#function build_wheel {
24+
# # Set default building method to pip
25+
# export NETCDF_PLUGIN_DIR=${BUILD_PREFIX}/lib/netcdf-plugins
26+
# wrap_wheel_builder build_pip_wheel $@
27+
#}
2828

2929
# add --verbose to pip
30-
function pip_opts {
31-
if [ -n "$MANYLINUX_URL" ]; then
32-
echo "--verbose --find-links $MANYLINUX_URL"
33-
else
34-
echo "--verbose"
35-
fi
36-
}
30+
#function pip_opts {
31+
# if [ -n "$MANYLINUX_URL" ]; then
32+
# echo "--verbose --find-links $MANYLINUX_URL"
33+
# else
34+
# echo "--verbose"
35+
# fi
36+
#}
3737

3838
function build_curl {
3939
if [ -e curl-stamp ]; then return; fi
@@ -107,19 +107,19 @@ function build_netcdf {
107107
# && make install \
108108
# && ls -l $HDF5_PLUGIN_PATH )
109109
# autotools build
110-
if [[ ! -z "IS_OSX" && "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
111-
unset NETCDF_PLUGIN_DIR
110+
#if [[ ! -z "IS_OSX" && "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
111+
#unset NETCDF_PLUGIN_DIR
112112
(cd netcdf-c-${NETCDF_VERSION} \
113113
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap \
114114
&& make -j4 \
115115
&& make install )
116-
else
117-
(cd netcdf-c-${NETCDF_VERSION} \
118-
&& export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
119-
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \
120-
&& make -j4 \
121-
&& make install )
122-
fi
116+
#else
117+
# (cd netcdf-c-${NETCDF_VERSION} \
118+
# && export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
119+
# && ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \
120+
# && make -j4 \
121+
# && make install )
122+
#fi
123123
touch netcdf-stamp
124124
}
125125

@@ -219,16 +219,16 @@ function build_blosc {
219219
function build_libs {
220220
echo "build_zlib"
221221
build_zlib
222-
echo "build_lzo"
223-
build_lzo
224-
echo "build_lzf"
225-
build_lzf
226-
echo "build_zstd"
227-
build_zstd
228-
echo "build_bzip2"
229-
build_bzip2
230-
echo "build_blosc"
231-
build_blosc
222+
#echo "build_lzo"
223+
#build_lzo
224+
#echo "build_lzf"
225+
#build_lzf
226+
#echo "build_zstd"
227+
#build_zstd
228+
#echo "build_bzip2"
229+
#build_bzip2
230+
#echo "build_blosc"
231+
#build_blosc
232232
# libaec is a drop-in replacement for szip
233233
echo "build_libaec"
234234
build_libaec

0 commit comments

Comments
 (0)