Skip to content

Commit

Permalink
fix(IDX): use llvm-clang on Intel macOS
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.
  • Loading branch information
nmattia committed Jan 20, 2025
1 parent 8df6997 commit 80f2067
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 @@ -190,6 +190,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"
- <<: *docker-login
- name: Run Bazel Test Darwin x86-64
id: bazel-test-darwin-x86-64
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 @@ -183,6 +183,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: Login to Dockerhub
shell: bash
run: ./ci/scripts/docker-login.sh
Expand Down

0 comments on commit 80f2067

Please sign in to comment.