Skip to content

Commit fcdfb09

Browse files
[release/8.0] Remove Homebrew LLVM during macOS CI setup - Part 2 (#125790)
The CI runner image may ship with a Homebrew LLVM whose libraries (e.g., an x86_64-only libunwind.dylib in /usr/local/lib) conflict with the Apple SDK and break native linking. The build uses Apple clang from /usr/bin/clang exclusively and does not need Homebrew LLVM. Backport of #125763 Co-authored-by: vseanreesermsft <78103370+vseanreesermsft@users.noreply.github.com>
1 parent 4032ba8 commit fcdfb09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/install-native-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ case "$os" in
4545
# Homebrew LLVM whose libraries (e.g., libunwind.dylib) are the wrong
4646
# architecture or conflict with the Apple SDK, breaking native linking.
4747
# The build uses Apple clang from /usr/bin/clang exclusively.
48-
brew uninstall --ignore-dependencies llvm 2>/dev/null || true
48+
brew uninstall --ignore-dependencies llvm@18 2>/dev/null || true
4949

5050
brew bundle --no-upgrade --file "$(dirname "$0")/Brewfile"
5151
;;

0 commit comments

Comments
 (0)