Skip to content

Commit 14f6a34

Browse files
committed
Removed brew packages to avoid inclusion
1 parent 07bf12f commit 14f6a34

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/wheels-dependencies.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,15 @@ if [[ -n "$IS_MACOS" ]]; then
130130
# libxau and libxdmcp cause an issue on macOS < 11
131131
# remove cairo to fix building harfbuzz on arm64
132132
# remove lcms2 and libpng to fix building openjpeg on arm64
133-
# remove zstd to avoid inclusion on x86_64
133+
# remove jpeg-turbo to avoid inclusion on arm64
134+
# remove webp and zstd to avoid inclusion on x86_64
134135
# curl from brew requires zstd, use system curl
135136
brew remove --ignore-dependencies libpng libtiff libxcb libxau libxdmcp curl cairo lcms2 zstd
137+
if [[ "$CIBW_ARCHS" == "arm64" ]]; then
138+
brew remove --ignore-dependencies jpeg-turbo
139+
else
140+
brew remove --ignore-dependencies webp
141+
fi
136142

137143
brew install pkg-config
138144
fi

0 commit comments

Comments
 (0)