File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
6161 -D COMPILER_RT_BUILD_LIBFUZZER=OFF \
6262 -D LLVM_LIT_ARGS=" -v --xunit-xml-output ${BUILD_DIR} /test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct" \
6363 -D COMPILER_RT_BUILD_ORC=OFF \
64+ -D CMAKE_C_COMPILER_LAUNCHER=sccache \
65+ -D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
6466 -D MLIR_ENABLE_BINDINGS_PYTHON=ON \
6567 -D CMAKE_EXE_LINKER_FLAGS=" /MANIFEST:NO" \
6668 -D CMAKE_MODULE_LINKER_FLAGS=" /MANIFEST:NO" \
@@ -69,8 +71,6 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
6971
7072start-group " ninja"
7173
72- # -D CMAKE_C_COMPILER_LAUNCHER=sccache \
73- # -D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
7474
7575# Targets are not escaped as they are passed as separate arguments.
7676ninja -C " ${BUILD_DIR} " -k 0 ${targets} | & tee ninja.log
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ function at-exit {
2727 sccache --show-stats
2828 sccache --show-stats >> artifacts/sccache_stats.txt
2929 cp " ${BUILD_DIR} " /.ninja_log artifacts/.ninja_log
30+ cp " ${BUILD_DIR} " /CMakeCache.txt artifacts/CMakeCache.txt
3031 cp " ${MONOREPO_ROOT} " /* .log artifacts/ || :
3132 cp " ${BUILD_DIR} " /test-results.* .xml artifacts/ || :
3233
You can’t perform that action at this time.
0 commit comments