Skip to content

Commit 9a23c29

Browse files
Downgrade clang
Signed-off-by: rahul shrivastava <[email protected]>
1 parent 71cb942 commit 9a23c29

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/ci.yml

+11
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ jobs:
2727
env:
2828
CACHE_DIR: ${{ github.workspace }}/.container-cache
2929
steps:
30+
- name: Install Clang 17.0.6
31+
run: |
32+
sudo yum update -y
33+
sudo yum install -y wget
34+
wget https://apt.llvm.org/llvm.sh
35+
sudo hmod +x llvm.sh
36+
./llvm.sh 17
37+
sudo yum install -y clang-17 lldb-17 lld-17 clang-tools-extra-17
38+
echo "Clang version installed:"
39+
- name: Verify Clang installation
40+
run: clang --version
3041
- name: Configure local git mirrors
3142
run: |
3243
# Our stock runners have access to certain local git caches. If these

build_tools/ci/build_posix.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ cmake -S "$repo_root/externals/llvm-project/llvm" -B "$build_dir" \
5050
-DLLVM_EXTERNAL_TORCH_MLIR_SOURCE_DIR="$repo_root" \
5151
-DLLVM_TARGETS_TO_BUILD=host \
5252
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
53-
-DTORCH_MLIR_ENABLE_LTC=OFF \
53+
-DTORCH_MLIR_ENABLE_LTC=ON \
5454
-DTORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS=ON
5555
echo "::endgroup::"
5656

0 commit comments

Comments
 (0)