mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-11 09:00:59 +03:00
Merge pull request #364 from radarhere/xmlto
This commit is contained in:
commit
187fef60fb
5
.github/workflows/build.sh
vendored
5
.github/workflows/build.sh
vendored
|
@ -4,9 +4,8 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
# libxdmcp causes an issue on macOS < 11
|
# libxdmcp causes an issue on macOS < 11
|
||||||
# curl from brew requires zstd, use system curl
|
# curl from brew requires zstd, use system curl
|
||||||
# if php is installed, brew tries to reinstall these after installing openblas
|
# if php is installed, brew tries to reinstall these after installing openblas
|
||||||
# remove lcms2 to fix building openjpeg on arm64
|
# remove lcms2 and libpng to fix building openjpeg on arm64
|
||||||
# remove xmlto to skip building giflib docs
|
brew remove --ignore-dependencies webp zstd xz libpng libtiff libxcb libxdmcp curl php lcms2 ghostscript
|
||||||
brew remove --ignore-dependencies webp zstd xz libtiff libxcb libxdmcp curl php lcms2 xmlto ghostscript
|
|
||||||
|
|
||||||
if [[ "$PLAT" == "arm64" ]]; then
|
if [[ "$PLAT" == "arm64" ]]; then
|
||||||
export MACOSX_DEPLOYMENT_TARGET="11.0"
|
export MACOSX_DEPLOYMENT_TARGET="11.0"
|
||||||
|
|
|
@ -87,10 +87,6 @@ function pre_build {
|
||||||
rm /usr/local/lib/libjpeg.dylib
|
rm /usr/local/lib/libjpeg.dylib
|
||||||
fi
|
fi
|
||||||
build_tiff
|
build_tiff
|
||||||
if [ -n "$IS_MACOS" ]; then
|
|
||||||
# Remove existing libpng
|
|
||||||
rm /usr/local/lib/libpng*
|
|
||||||
fi
|
|
||||||
build_libpng
|
build_libpng
|
||||||
build_lcms2
|
build_lcms2
|
||||||
build_openjpeg
|
build_openjpeg
|
||||||
|
|
Loading…
Reference in New Issue
Block a user