Skip to content

Commit e117bee

Browse files
author
Mirroring
committed
Merge commit '4032ba81669e534f16922179a767abc575a758d7'
2 parents e6eae4c + 4032ba8 commit e117bee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

eng/install-native-dependencies.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ case "$os" in
4040
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
4141
# Skip brew update for now, see https://github.com/actions/setup-python/issues/577
4242
# brew update --preinstall
43+
44+
# Remove Homebrew LLVM if present. The CI runner image may ship with a
45+
# Homebrew LLVM whose libraries (e.g., libunwind.dylib) are the wrong
46+
# architecture or conflict with the Apple SDK, breaking native linking.
47+
# The build uses Apple clang from /usr/bin/clang exclusively.
48+
brew uninstall --ignore-dependencies llvm 2>/dev/null || true
49+
4350
brew bundle --no-upgrade --file "$(dirname "$0")/Brewfile"
4451
;;
4552

0 commit comments

Comments
 (0)