Skip to content

Commit

Permalink
fix(IDX): use llvm-clang on Intel macOS (#3530)
Browse files Browse the repository at this point in the history
This ensures that the x86-darwin builders use a working c compiler
(llvm-clang) instead of Apple's, which causes build failures.

Co-authored-by: Bas van Dijk <[email protected]>
  • Loading branch information
nmattia and basvandijk authored Jan 20, 2025
1 parent bc3cd63 commit 91e4183
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows-source/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ jobs:
run: |
echo "/usr/local/bin" >> $GITHUB_PATH
echo "$HOME/.cargo/bin:" >> $GITHUB_PATH
# use llvm-clang instead of apple's
echo "CC=/usr/local/opt/llvm/bin/clang" >> "$GITHUB_ENV"
- name: Run Bazel Test Darwin x86-64
id: bazel-test-darwin-x86-64
uses: ./.github/actions/bazel-test-all/
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ jobs:
run: |
echo "/usr/local/bin" >> $GITHUB_PATH
echo "$HOME/.cargo/bin:" >> $GITHUB_PATH
# use llvm-clang instead of apple's
echo "CC=/usr/local/opt/llvm/bin/clang" >> "$GITHUB_ENV"
- name: Run Bazel Test Darwin x86-64
id: bazel-test-darwin-x86-64
uses: ./.github/actions/bazel-test-all/
Expand Down

0 comments on commit 91e4183

Please sign in to comment.