mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 02:46:18 +03:00
commit
b5387b4e5a
|
@ -57,7 +57,7 @@ function pre_build {
|
||||||
build_jpeg
|
build_jpeg
|
||||||
CFLAGS=$ORIGINAL_CFLAGS
|
CFLAGS=$ORIGINAL_CFLAGS
|
||||||
|
|
||||||
if [[ -n "$IS_MACOS" && $MACOSX_DEPLOYMENT_TARGET == "11.0" ]]; then
|
if [[ -n "$IS_MACOS" ]]; then
|
||||||
TIFF_VERSION=4.2.0
|
TIFF_VERSION=4.2.0
|
||||||
fi
|
fi
|
||||||
build_tiff
|
build_tiff
|
||||||
|
@ -133,9 +133,11 @@ function run_tests {
|
||||||
brew install openblas
|
brew install openblas
|
||||||
echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg
|
echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg
|
||||||
fi
|
fi
|
||||||
if [[ "$MB_PYTHON_VERSION" == pypy3.7-* ]]; then
|
if [[ "$MB_PYTHON_VERSION" == pypy3.7-* ]] && [[ $(uname -m) == "i686" ]]; then
|
||||||
python3 -m pip install numpy==1.20.3
|
python3 -m pip install numpy==1.20.3
|
||||||
elif [[ "$MB_PYTHON_VERSION" != 3.10 ]] || [[ "$PLAT" != "x86_64" ]]; then
|
elif [[ "$MB_PYTHON_VERSION" == 3.10 ]] && [[ $(uname -m) == "i686" ]]; then
|
||||||
|
python3 -m pip install numpy==1.21.4
|
||||||
|
else
|
||||||
python3 -m pip install numpy
|
python3 -m pip install numpy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user