Merge pull request #389 from radarhere/build

Use --config-settings
This commit is contained in:
Andrew Murray 2023-06-25 13:15:27 +10:00 committed by GitHub
commit d5cd1c4dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,8 +128,7 @@ function pip_wheel_cmd {
CFLAGS="$CFLAGS --std=c99" # for Raqm CFLAGS="$CFLAGS --std=c99" # for Raqm
fi fi
pip wheel $(pip_opts) \ pip wheel $(pip_opts) \
--global-option build_ext --global-option --enable-raqm \ -C raqm=enable -C raqm=vendor -C fribidi=vendor \
--global-option --vendor-raqm --global-option --vendor-fribidi \
-w $abs_wheelhouse --no-deps . -w $abs_wheelhouse --no-deps .
} }
@ -141,11 +140,7 @@ function run_tests_in_repo {
EXP_CODECS="jpg jpg_2000 libtiff zlib" EXP_CODECS="jpg jpg_2000 libtiff zlib"
EXP_MODULES="freetype2 littlecms2 pil tkinter webp" EXP_MODULES="freetype2 littlecms2 pil tkinter webp"
if ([ -n "$IS_MACOS" ] && [[ "$MB_PYTHON_VERSION" == 3.12 ]]); then EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
EXP_FEATURES="libjpeg_turbo transp_webp webp_anim webp_mux xcb"
else
EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux xcb"
fi
function run_tests { function run_tests {
if [ -n "$IS_MACOS" ]; then if [ -n "$IS_MACOS" ]; then