File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-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 \
You can’t perform that action at this time.
0 commit comments