Skip to content

Commit d92285f

Browse files
committed
don't install plugins on linux
1 parent 22b647d commit d92285f

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

config.sh

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export BZIP2_VERSION="1.0.8"
2525
export BLOSC_VERSION="1.21.1"
2626

2727
# custom version that sets NETCDF_PLUGIN_DIR env var
28-
function build_wheel {
29-
# Set default building method to pip
30-
export NETCDF_PLUGIN_DIR=${BUILD_PREFIX}/lib/netcdf-plugins
31-
wrap_wheel_builder build_pip_wheel $@
32-
}
28+
#function build_wheel {
29+
# # Set default building method to pip
30+
# export NETCDF_PLUGIN_DIR=${BUILD_PREFIX}/lib/netcdf-plugins
31+
# wrap_wheel_builder build_pip_wheel $@
32+
#}
3333

3434
# add --verbose to pip
3535
function pip_opts {
@@ -127,26 +127,26 @@ function build_netcdf {
127127
# use cmake for version 4.9.0 since autotools doesn't work
128128
# CMakeLists.txt patch needed for NETCDF_VERSION 4.9.0
129129
# no plugins installed
130-
#(cd netcdf-c-${NETCDF_VERSION} \
131-
# && curl https://raw.githubusercontent.com/MacPython/netcdf4-python-wheels/master/CMakeLists.txt.patch -o CMakeLists.txt.patch \
132-
# && patch -p0 < CMakeLists.txt.patch \
133-
# && mkdir build \
134-
# && cd build \
135-
# && cmake ../ -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} -DENABLE_NETCDF_4=ON -DENABLE_DAP=ON -DBUILD_SHARED_LIBS=ON -DENABLE_PLUGIN_INSTALL=NO \
136-
# && make -j4 \
137-
# && make install )
138-
# plugins installed
139130
(cd netcdf-c-${NETCDF_VERSION} \
140131
&& curl https://raw.githubusercontent.com/MacPython/netcdf4-python-wheels/master/CMakeLists.txt.patch -o CMakeLists.txt.patch \
141132
&& patch -p0 < CMakeLists.txt.patch \
142133
&& mkdir build \
143134
&& cd build \
144-
&& export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
145-
&& mkdir -p $HDF5_PLUGIN_PATH \
146-
&& cmake ../ -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} -DENABLE_NETCDF_4=ON -DENABLE_DAP=ON -DBUILD_SHARED_LIBS=ON -DPLUGIN_INSTALL_DIR=YES \
135+
&& cmake ../ -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} -DENABLE_NETCDF_4=ON -DENABLE_DAP=ON -DBUILD_SHARED_LIBS=ON -DENABLE_PLUGIN_INSTALL=NO \
147136
&& make -j4 \
148-
&& make install \
149-
&& ls -l $HDF5_PLUGIN_PATH )
137+
&& make install )
138+
# plugins installed
139+
#(cd netcdf-c-${NETCDF_VERSION} \
140+
# && curl https://raw.githubusercontent.com/MacPython/netcdf4-python-wheels/master/CMakeLists.txt.patch -o CMakeLists.txt.patch \
141+
# && patch -p0 < CMakeLists.txt.patch \
142+
# && mkdir build \
143+
# && cd build \
144+
# && export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
145+
# && mkdir -p $HDF5_PLUGIN_PATH \
146+
# && cmake ../ -DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} -DENABLE_NETCDF_4=ON -DENABLE_DAP=ON -DBUILD_SHARED_LIBS=ON -DPLUGIN_INSTALL_DIR=YES \
147+
# && make -j4 \
148+
# && make install \
149+
# && ls -l $HDF5_PLUGIN_PATH )
150150
fi
151151
touch netcdf-stamp
152152
}

0 commit comments

Comments
 (0)