From 78927dd5c667f87152c48ec1f717294196a8b74e Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 4 Apr 2022 20:46:36 +1000 Subject: [PATCH] Test fribidi, harfbuzz and raqm on macOS --- config.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.sh b/config.sh index a4e70f004..f5eee69a9 100644 --- a/config.sh +++ b/config.sh @@ -140,7 +140,7 @@ function run_tests_in_repo { EXP_CODECS="jpg jpg_2000" EXP_CODECS="$EXP_CODECS libtiff zlib" EXP_MODULES="freetype2 littlecms2 pil tkinter webp" -if [ -z "$IS_MACOS" ] && [[ "$MB_PYTHON_VERSION" != pypy3* ]] && [[ "$MACHTYPE" != aarch64* ]]; then +if ([ -n "$IS_MACOS" ] || [[ "$MB_PYTHON_VERSION" != pypy3* ]]) && [[ "$MACHTYPE" != aarch64* ]]; then EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb" else # can't find FriBiDi @@ -151,6 +151,9 @@ function run_tests { if [ -n "$IS_MACOS" ]; then brew install openblas echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg + + brew install fribidi + ln -s /usr/local/lib/libfribidi.dylib libfribidi.dylib elif [ -n "$IS_ALPINE" ]; then apk add fribidi fi