[BUILD] use clang+lld in CI builds. (#2564)

Use clang+lld in CI builds.

This is significantly faster.
This commit is contained in:
Justin Lebar
2023-10-30 19:19:27 -07:00
committed by GitHub
parent 2398b82f18
commit 29a9245559

View File

@@ -73,10 +73,10 @@ jobs:
run: |
cd python
python3 -m pip install --upgrade pip
python3 -m pip install cmake==3.24
python3 -m pip install ninja
python3 -m pip install --no-build-isolation -vvv '.[tests]'
python3 -m pip install pytest-xdist
python3 -m pip install cmake==3.24 ninja pytest-xdist
sudo apt-get update -y
sudo apt-get install -y ccache clang lld
TRITON_BUILD_WITH_CLANG_LLD=true TRITON_BUILD_WITH_CCACHE=true python3 -m pip install --no-build-isolation -vvv '.[tests]'
- name: Run lit tests
if: ${{ env.BACKEND == 'CUDA'}}