File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ BUILD_DIR="${BUILD_DIR:=${MONOREPO_ROOT}/build}"
21
21
INSTALL_DIR=" ${BUILD_DIR} /install"
22
22
rm -rf " ${BUILD_DIR} "
23
23
24
- ccache --zero-stats
24
+ sccache --zero-stats
25
25
26
26
mkdir -p artifacts/reproducers
27
27
@@ -31,7 +31,7 @@ export CLANG_CRASH_DIAGNOSTICS_DIR=`realpath artifacts/reproducers`
31
31
function at-exit {
32
32
retcode=$?
33
33
34
- ccache --print -stats > artifacts/ccache_stats .txt
34
+ sccache --show -stats > artifacts/sccache_stats .txt
35
35
cp " ${BUILD_DIR} " /.ninja_log artifacts/.ninja_log
36
36
cp " ${BUILD_DIR} " /test-results.* .xml artifacts/ || :
37
37
@@ -73,7 +73,8 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
73
73
-D LLVM_LIT_ARGS=" ${lit_args} " \
74
74
-D LLVM_ENABLE_LLD=ON \
75
75
-D CMAKE_CXX_FLAGS=-gmlt \
76
- -D LLVM_CCACHE_BUILD=ON \
76
+ -D CMAKE_C_COMPILER_LAUNCHER=sccache \
77
+ -D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
77
78
-D LIBCXX_CXX_ABI=libcxxabi \
78
79
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
79
80
-D LLDB_ENABLE_PYTHON=ON \
Original file line number Diff line number Diff line change 37
37
- name : Setup ccache
38
38
uses : hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
39
39
with :
40
+ variant : " sccache"
40
41
max-size : " 2000M"
41
42
- name : Build and Test
42
43
# Mark the job as a success even if the step fails so that people do
You can’t perform that action at this time.
0 commit comments