Skip to content

Commit 9b0ba3d

Browse files
committed
re-enable sccache; try to upload CMakeCache.txt.
1 parent 366967a commit 9b0ba3d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.ci/monolithic-windows.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

7072
start-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.
7676
ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log

.ci/utils.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)