We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd57d1 commit 5c7b841Copy full SHA for 5c7b841
.github/workflows/clang-cir-lint.yml
@@ -32,6 +32,11 @@ jobs:
32
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
33
with:
34
fetch-depth: 2
35
+ - name: Setup ccache
36
+ uses: hendrikmuhs/ccache-action@63069e3931dedbf3b63792097479563182fe70d1 # v1.2.18
37
+ with:
38
+ variant: "sccache"
39
+ max-size: "2000M"
40
- name: Configure and CodeGen
41
run: |
42
cmake -G Ninja \
@@ -46,7 +51,10 @@ jobs:
46
51
-DCLANG_INCLUDE_TESTS=OFF \
47
52
-DMLIR_INCLUDE_TESTS=OFF \
48
53
-DCMAKE_BUILD_TYPE=Release \
49
- -DLLVM_TARGETS_TO_BUILD=host
54
+ -DLLVM_TARGETS_TO_BUILD=host \
55
+ -DCMAKE_C_COMPILER_LAUNCHER=sccache \
56
+ -DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
57
+ -DCLANG_ENABLE_CIR=ON
50
58
59
ninja -C build
60
0 commit comments