Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Disable SSE4.1 for libwebp to update travis osx_image to 9.4 #97

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
- UNICODE_WIDTH=32
- BUILD_DEPENDS=""
- TEST_DEPENDS="pytest pytest-cov numpy scipy"
- MACOSX_DEPLOYMENT_TARGET=10.10
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
# Following generated with
# travis encrypt -r python-pillow/pillow-wheels WHEELHOUSE_UPLOADER_SECRET=<the api key>
Expand All @@ -17,7 +18,7 @@ python: 3.5
sudo: required
dist: trusty
services: docker
osx_image: xcode6.4
osx_image: xcode9.4

matrix:
exclude:
Expand Down
8 changes: 7 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,17 @@ function pre_build {
install_name_tool -id $BUILD_PREFIX/lib/libopenjp2.7.dylib $BUILD_PREFIX/lib/libopenjp2.2.1.0.dylib
fi
build_lcms2
build_libwebp
if [ -n "$IS_OSX" ]; then
# Custom libwebp build to allow building on OS X 10.10 and 10.11
build_giflib
build_simple libwebp $LIBWEBP_VERSION \
https://storage.googleapis.com/downloads.webmproject.org/releases/webp tar.gz \
--enable-libwebpmux --enable-libwebpdemux --disable-sse4.1

# Custom freetype build
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz --with-harfbuzz=no
else
build_libwebp
build_freetype
fi
}
Expand Down