This repository was archived by the owner on Oct 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function pre_build {
5757 build_jpeg
5858 CFLAGS=$ORIGINAL_CFLAGS
5959
60- if [[ -n " $IS_MACOS " && $MACOSX_DEPLOYMENT_TARGET == " 11.0 " ]]; then
60+ if [[ -n " $IS_MACOS " ]]; then
6161 TIFF_VERSION=4.2.0
6262 fi
6363 build_tiff
@@ -133,9 +133,11 @@ function run_tests {
133133 brew install openblas
134134 echo -e " [openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~ /.numpy-site.cfg
135135 fi
136- if [[ " $MB_PYTHON_VERSION " == pypy3.7-* ]]; then
136+ if [[ " $MB_PYTHON_VERSION " == pypy3.7-* ]] && [[ $( uname -m ) == " i686 " ]] ; then
137137 python3 -m pip install numpy==1.20.3
138- elif [[ " $MB_PYTHON_VERSION " != 3.10 ]] || [[ " $PLAT " != " x86_64" ]]; then
138+ elif [[ " $MB_PYTHON_VERSION " == 3.10 ]] && [[ $( uname -m) == " i686" ]]; then
139+ python3 -m pip install numpy==1.21.4
140+ else
139141 python3 -m pip install numpy
140142 fi
141143
You can’t perform that action at this time.
0 commit comments