File tree Expand file tree Collapse file tree 4 files changed +4
-345
lines changed Expand file tree Collapse file tree 4 files changed +4
-345
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,16 +28,11 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
2828 ccache --clear
2929fi
3030
31- function at-exit {
31+ function show-stats {
3232 mkdir -p artifacts
3333 ccache --print-stats > artifacts/ccache_stats.txt
34-
35- # If building fails there will be no results files.
36- shopt -s nullglob
37- python3 " ${MONOREPO_ROOT} " /.ci/generate_test_report.py " :linux: Linux x64 Test Results" \
38- " linux-x64-test-results" " ${BUILD_DIR} " /test-results.* .xml
3934}
40- trap at-exit EXIT
35+ trap show-stats EXIT
4136
4237projects=" ${1} "
4338targets=" ${2} "
@@ -47,7 +42,6 @@ lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-outpu
4742echo " --- cmake"
4843pip install -q -r " ${MONOREPO_ROOT} " /mlir/python/requirements.txt
4944pip install -q -r " ${MONOREPO_ROOT} " /lldb/test/requirements.txt
50- pip install -q -r " ${MONOREPO_ROOT} " /.ci/requirements.txt
5145cmake -S " ${MONOREPO_ROOT} " /llvm -B " ${BUILD_DIR} " \
5246 -D LLVM_ENABLE_PROJECTS=" ${projects} " \
5347 -G Ninja \
Original file line number Diff line number Diff line change @@ -27,23 +27,17 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
2727fi
2828
2929sccache --zero-stats
30- function at-exit {
30+ function show-stats {
3131 mkdir -p artifacts
3232 sccache --show-stats >> artifacts/sccache_stats.txt
33-
34- # If building fails there will be no results files.
35- shopt -s nullglob
36- python " ${MONOREPO_ROOT} " /.ci/generate_test_report.py " :windows: Windows x64 Test Results" \
37- " windows-x64-test-results" " ${BUILD_DIR} " /test-results.* .xml
3833}
39- trap at-exit EXIT
34+ trap show-stats EXIT
4035
4136projects=" ${1} "
4237targets=" ${2} "
4338
4439echo " --- cmake"
4540pip install -q -r " ${MONOREPO_ROOT} " /mlir/python/requirements.txt
46- pip install -q -r " ${MONOREPO_ROOT} " /.ci/requirements.txt
4741
4842# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
4943# on fixing a build reliability issue on the build server, please
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments