Skip to content

Commit 04cc3f2

Browse files
committed
Install clang-17.
1 parent 832e5eb commit 04cc3f2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/setup/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ runs:
2626
run: |
2727
ls -la
2828
rm -rvf ${GITHUB_WORKSPACE}/*
29+
- name: "Install APT Packages"
30+
ansible.builtin.apt:
31+
name: "clang-17"
32+
update_cache: true
2933
- name: Setup CUDA environment
3034
shell: bash
3135
run: |

infra/ansible/config/env.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ build_env:
2424
# Set explicitly to 0 as setup.py defaults this flag to true if unset.
2525
BUILD_CPP_TESTS: "{{ build_cpp_tests }}"
2626
# Force GCC because clang/bazel has issues.
27-
CC: gcc-10
28-
CXX: g++-10
27+
CC: /usr/lib/llvm-17/clang
28+
CXX: /usr/lib/llvm-17/clang
2929
PYTORCH_BUILD_NUMBER: 1
3030
TORCH_XLA_VERSION: "{{ package_version }}"
3131
PYTORCH_BUILD_VERSION: "{{ package_version }}"

0 commit comments

Comments
 (0)