Skip to content

Commit 86b42a9

Browse files
authored
Merge pull request #8421 from radarhere/harfbuzz
2 parents 485a062 + fb8db83 commit 86b42a9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/wheels-dependencies.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ARCHIVE_SDIR=pillow-depends-main
1616

1717
# Package versions for fresh source builds
1818
FREETYPE_VERSION=2.13.2
19-
if [[ "$MB_ML_VER" != 2014 ]]; then
19+
if [[ -n "$IS_MACOS" ]] || ([[ "$MB_ML_VER" != 2014 ]] && [[ -z "$SANITIZER" ]]); then
2020
HARFBUZZ_VERSION=10.0.1
2121
else
2222
HARFBUZZ_VERSION=8.5.0
@@ -156,12 +156,10 @@ if [[ -n "$IS_MACOS" ]]; then
156156
fi
157157

158158
brew install meson pkg-config
159-
elif [[ "$MB_ML_LIBC" == "manylinux" ]]; then
160-
if [[ "$HARFBUZZ_VERSION" != 8.5.0 ]]; then
161-
yum install -y meson
162-
fi
163-
else
159+
elif [[ -n "$IS_ALPINE" ]]; then
164160
apk add meson
161+
elif [[ "$HARFBUZZ_VERSION" != 8.5.0 ]]; then
162+
yum install -y meson
165163
fi
166164

167165
wrap_wheel_builder build

0 commit comments

Comments
 (0)