File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export NO_CDL=1
8
8
# Compile libs for macOS 10.9 or later
9
9
export MACOSX_DEPLOYMENT_TARGET=" 10.9"
10
10
export NETCDF_VERSION=" 4.9.0"
11
- export HDF5_VERSION=" 1.12.1 "
11
+ export HDF5_VERSION=" 1.12.2 "
12
12
# old openssl, since building new version requires perl 5.10.0
13
13
export OPENSSL_ROOT=openssl-1.0.2u
14
14
export OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
@@ -116,8 +116,9 @@ function build_netcdf {
116
116
# && make install \
117
117
# && ls -l $HDF5_PLUGIN_PATH )
118
118
# autotools build
119
- if [[ ! -z " IS_OSX" ]]; then
120
- if [[ ! -z " IS_OSX" && " $PLAT " = " arm64" ]] && [[ " $CROSS_COMPILING " = " 1" ]]; then
119
+ if [ -n " $IS_MACOS " ]; then
120
+ # if [[ ! -z "IS_OSX" && "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
121
+ if [[ " $PLAT " = " arm64" ]] && [[ " $CROSS_COMPILING " = " 1" ]]; then
121
122
(cd netcdf-c-${NETCDF_VERSION} \
122
123
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap \
123
124
&& make -j4 \
You can’t perform that action at this time.
0 commit comments