Skip to content

Commit 79423ab

Browse files
author
Mirroring
committed
Merge commit '1430f560e53cd353a637fab0809709e953649de7'
2 parents e19960d + 1430f56 commit 79423ab

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

eng/install-native-dependencies.sh

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

0 commit comments

Comments
 (0)