mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Can't check IS_MACOS until common_utils is invoked.
This commit is contained in:
parent
72d81e24a8
commit
ec214e4d7c
18
.github/workflows/wheels-dependencies.sh
vendored
18
.github/workflows/wheels-dependencies.sh
vendored
|
@ -1,13 +1,5 @@
|
|||
#!/bin/bash
|
||||
# Define custom utilities
|
||||
# Test for macOS with [ -n "$IS_MACOS" ]
|
||||
if [ -z "$IS_MACOS" ]; then
|
||||
export MB_ML_LIBC=${AUDITWHEEL_POLICY::9}
|
||||
export MB_ML_VER=${AUDITWHEEL_POLICY:9}
|
||||
else
|
||||
# Build and install macOS builds into the `build/deps` folder.
|
||||
BUILD_PREFIX=$(pwd)/build/deps
|
||||
fi
|
||||
export PLAT=$CIBW_ARCHS
|
||||
source wheels/multibuild/common_utils.sh
|
||||
source wheels/multibuild/library_builders.sh
|
||||
|
@ -15,6 +7,16 @@ if [ -z "$IS_MACOS" ]; then
|
|||
source wheels/multibuild/manylinux_utils.sh
|
||||
fi
|
||||
|
||||
# Test for macOS with [ -n "$IS_MACOS" ]
|
||||
echo "IS MACOS: $IS_MACOS"
|
||||
if [ -z "$IS_MACOS" ]; then
|
||||
export MB_ML_LIBC=${AUDITWHEEL_POLICY::9}
|
||||
export MB_ML_VER=${AUDITWHEEL_POLICY:9}
|
||||
elseac
|
||||
# Build and install macOS builds into the `build/deps` folder.
|
||||
BUILD_PREFIX=$(pwd)/build/deps
|
||||
fi
|
||||
|
||||
ARCHIVE_SDIR=pillow-depends-main
|
||||
|
||||
# Package versions for fresh source builds
|
||||
|
|
Loading…
Reference in New Issue
Block a user