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
88# Compile libs for macOS 10.9 or later
99export MACOSX_DEPLOYMENT_TARGET=" 10.9"
1010export NETCDF_VERSION=" 4.9.0"
11- export HDF5_VERSION=" 1.12.1 "
11+ export HDF5_VERSION=" 1.12.2 "
1212# old openssl, since building new version requires perl 5.10.0
1313export OPENSSL_ROOT=openssl-1.0.2u
1414export OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
@@ -116,8 +116,9 @@ function build_netcdf {
116116 # && make install \
117117 # && ls -l $HDF5_PLUGIN_PATH )
118118 # 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
121122 (cd netcdf-c-${NETCDF_VERSION} \
122123 && ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap \
123124 && make -j4 \
You can’t perform that action at this time.
0 commit comments