mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 03:21:44 +03:00
Added macOS PyPy
This commit is contained in:
parent
340c5424b2
commit
f995a9ec28
15
.travis.yml
15
.travis.yml
|
@ -84,6 +84,13 @@ jobs:
|
||||||
- MB_PYTHON_VERSION=3.8
|
- MB_PYTHON_VERSION=3.8
|
||||||
- PLAT=i686
|
- PLAT=i686
|
||||||
|
|
||||||
|
- name: "3.6 macOS PyPy"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode9.3
|
||||||
|
language: generic
|
||||||
|
env:
|
||||||
|
- MB_PYTHON_VERSION=pypy3.6-7.3
|
||||||
|
- MB_PYTHON_OSX_VER=10.9
|
||||||
- name: "3.6 Xenial 64-bit PyPy"
|
- name: "3.6 Xenial 64-bit PyPy"
|
||||||
os: linux
|
os: linux
|
||||||
env:
|
env:
|
||||||
|
@ -167,6 +174,14 @@ jobs:
|
||||||
- PLAT=i686
|
- PLAT=i686
|
||||||
- LATEST="true"
|
- LATEST="true"
|
||||||
|
|
||||||
|
- name: "3.6 macOS PyPy latest"
|
||||||
|
os: osx
|
||||||
|
osx_image: xcode9.3
|
||||||
|
language: generic
|
||||||
|
env:
|
||||||
|
- MB_PYTHON_VERSION=pypy3.6-7.3
|
||||||
|
- MB_PYTHON_OSX_VER=10.9
|
||||||
|
- LATEST="true"
|
||||||
- name: "3.6 Xenial 64-bit PyPy latest"
|
- name: "3.6 Xenial 64-bit PyPy latest"
|
||||||
os: linux
|
os: linux
|
||||||
env:
|
env:
|
||||||
|
|
10
config.sh
10
config.sh
|
@ -27,6 +27,12 @@ function pre_build {
|
||||||
build_new_zlib
|
build_new_zlib
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$IS_OSX" ]; then
|
||||||
|
ORIGINAL_BUILD_PREFIX=$BUILD_PREFIX
|
||||||
|
ORIGINAL_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
|
||||||
|
BUILD_PREFIX=`dirname $(dirname $(which python))`
|
||||||
|
PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig"
|
||||||
|
fi
|
||||||
build_simple xcb-proto $LIBXCB_VERSION https://xcb.freedesktop.org/dist
|
build_simple xcb-proto $LIBXCB_VERSION https://xcb.freedesktop.org/dist
|
||||||
if [ -n "$IS_OSX" ]; then
|
if [ -n "$IS_OSX" ]; then
|
||||||
build_simple xproto 7.0.31 https://www.x.org/pub/individual/proto
|
build_simple xproto 7.0.31 https://www.x.org/pub/individual/proto
|
||||||
|
@ -36,6 +42,10 @@ function pre_build {
|
||||||
sed -i s/\${pc_sysrootdir\}// /usr/local/lib/pkgconfig/xcb-proto.pc
|
sed -i s/\${pc_sysrootdir\}// /usr/local/lib/pkgconfig/xcb-proto.pc
|
||||||
fi
|
fi
|
||||||
build_simple libxcb $LIBXCB_VERSION https://xcb.freedesktop.org/dist
|
build_simple libxcb $LIBXCB_VERSION https://xcb.freedesktop.org/dist
|
||||||
|
if [ -n "$IS_OSX" ]; then
|
||||||
|
BUILD_PREFIX=$ORIGINAL_BUILD_PREFIX
|
||||||
|
PKG_CONFIG_PATH=$ORIGINAL_PKG_CONFIG_PATH
|
||||||
|
fi
|
||||||
|
|
||||||
# Custom flags to include both multibuild and jpeg defaults
|
# Custom flags to include both multibuild and jpeg defaults
|
||||||
ORIGINAL_CFLAGS=$CFLAGS
|
ORIGINAL_CFLAGS=$CFLAGS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user