Skip to content

Commit

Permalink
Downgrade clang
Browse files Browse the repository at this point in the history
Signed-off-by: rahul shrivastava <[email protected]>
  • Loading branch information
rahuls-cerebras committed Dec 18, 2024
1 parent 71cb942 commit a3e76fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ jobs:
env:
CACHE_DIR: ${{ github.workspace }}/.container-cache
steps:
- name: Install Clang 17.0.6
run: |
yum update -y
yum install -y wget
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
./llvm.sh 17
yum install -y clang-17 lldb-17 lld-17 clang-tools-extra-17
echo "Clang version installed:"
- name: Verify Clang installation
run: clang --version
- name: Configure local git mirrors
run: |
# Our stock runners have access to certain local git caches. If these
Expand Down
2 changes: 1 addition & 1 deletion build_tools/ci/build_posix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cmake -S "$repo_root/externals/llvm-project/llvm" -B "$build_dir" \
-DLLVM_EXTERNAL_TORCH_MLIR_SOURCE_DIR="$repo_root" \
-DLLVM_TARGETS_TO_BUILD=host \
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
-DTORCH_MLIR_ENABLE_LTC=OFF \
-DTORCH_MLIR_ENABLE_LTC=ON \
-DTORCH_MLIR_ENABLE_PYTORCH_EXTENSIONS=ON
echo "::endgroup::"

Expand Down

0 comments on commit a3e76fa

Please sign in to comment.