Updated capitalisation

This commit is contained in:
Andrew Murray 2025-06-24 20:55:03 +10:00
parent 3524b4e729
commit e567602719
2 changed files with 6 additions and 6 deletions

View File

@ -60,11 +60,11 @@ if [[ "$CIBW_PLATFORM" == "ios" ]]; then
# Cmake has native support for iOS. However, most of that support is based # Cmake has native support for iOS. However, most of that support is based
# on using the Xcode builder, which isn't very helpful for most of Pillow's # on using the Xcode builder, which isn't very helpful for most of Pillow's
# dependencies. Therefore, we lean on the OSX configurations, plus CC/CFLAGS # dependencies. Therefore, we lean on the OSX configurations, plus CC/CFLAGS
# etc to ensure the right sysroot is selected. # etc. to ensure the right sysroot is selected.
HOST_CMAKE_FLAGS="-DCMAKE_SYSTEM_NAME=$CMAKE_SYSTEM_NAME -DCMAKE_SYSTEM_PROCESSOR=$GNU_ARCH -DCMAKE_OSX_DEPLOYMENT_TARGET=$IPHONEOS_DEPLOYMENT_TARGET -DCMAKE_OSX_SYSROOT=$IOS_SDK_PATH -DBUILD_SHARED_LIBS=NO" HOST_CMAKE_FLAGS="-DCMAKE_SYSTEM_NAME=$CMAKE_SYSTEM_NAME -DCMAKE_SYSTEM_PROCESSOR=$GNU_ARCH -DCMAKE_OSX_DEPLOYMENT_TARGET=$IPHONEOS_DEPLOYMENT_TARGET -DCMAKE_OSX_SYSROOT=$IOS_SDK_PATH -DBUILD_SHARED_LIBS=NO"
# Meson needs to be pointed at a cross-platform configuration file # Meson needs to be pointed at a cross-platform configuration file
# This will be generated once CC etc have been evaluated. # This will be generated once CC etc. have been evaluated.
HOST_MESON_FLAGS="--cross-file $WORKDIR/meson-cross.txt -Dprefer_static=true -Ddefault_library=static" HOST_MESON_FLAGS="--cross-file $WORKDIR/meson-cross.txt -Dprefer_static=true -Ddefault_library=static"
elif [[ "$(uname -s)" == "Darwin" ]]; then elif [[ "$(uname -s)" == "Darwin" ]]; then
@ -291,7 +291,7 @@ if [[ -n "$IS_MACOS" ]]; then
mkdir -p "$BUILD_PREFIX/lib" mkdir -p "$BUILD_PREFIX/lib"
# Ensure pkg-config is available. This is done *before* setting CC, CFLAGS # Ensure pkg-config is available. This is done *before* setting CC, CFLAGS
# etc to ensure that the build is *always* a macOS build, even when building # etc. to ensure that the build is *always* a macOS build, even when building
# for iOS. # for iOS.
build_pkg_config build_pkg_config
@ -317,7 +317,7 @@ if [[ -n "$IS_MACOS" ]]; then
# behavior into clang. # behavior into clang.
unset IPHONEOS_DEPLOYMENT_TARGET unset IPHONEOS_DEPLOYMENT_TARGET
# Now that we know CC etc, we can create a meson cross-configuration file # Now that we know CC etc., we can create a meson cross-configuration file
create_meson_cross_config create_meson_cross_config
fi fi
fi fi

View File

@ -112,11 +112,11 @@ test-requires = [
xbuild-tools = [ ] xbuild-tools = [ ]
[tool.cibuildwheel.macos] [tool.cibuildwheel.macos]
# Disable platform guessing on macOS to avoid picking up homebrew etc # Disable platform guessing on macOS to avoid picking up Homebrew etc.
config-settings = "raqm=enable raqm=vendor fribidi=vendor imagequant=disable platform-guessing=disable" config-settings = "raqm=enable raqm=vendor fribidi=vendor imagequant=disable platform-guessing=disable"
[tool.cibuildwheel.macos.environment] [tool.cibuildwheel.macos.environment]
# Isolate macOS build environment from homebrew etc # Isolate macOS build environment from Homebrew etc.
PATH = "$(pwd)/build/deps/darwin/bin:$(dirname $(which python3)):/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin" PATH = "$(pwd)/build/deps/darwin/bin:$(dirname $(which python3)):/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin"
[tool.cibuildwheel.ios] [tool.cibuildwheel.ios]