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
28
28
ccache --clear
29
29
fi
30
30
31
- function at-exit {
31
+ function show-stats {
32
32
mkdir -p artifacts
33
33
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
39
34
}
40
- trap at-exit EXIT
35
+ trap show-stats EXIT
41
36
42
37
projects=" ${1} "
43
38
targets=" ${2} "
@@ -47,7 +42,6 @@ lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-outpu
47
42
echo " --- cmake"
48
43
pip install -q -r " ${MONOREPO_ROOT} " /mlir/python/requirements.txt
49
44
pip install -q -r " ${MONOREPO_ROOT} " /lldb/test/requirements.txt
50
- pip install -q -r " ${MONOREPO_ROOT} " /.ci/requirements.txt
51
45
cmake -S " ${MONOREPO_ROOT} " /llvm -B " ${BUILD_DIR} " \
52
46
-D LLVM_ENABLE_PROJECTS=" ${projects} " \
53
47
-G Ninja \
Original file line number Diff line number Diff line change @@ -27,23 +27,17 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
27
27
fi
28
28
29
29
sccache --zero-stats
30
- function at-exit {
30
+ function show-stats {
31
31
mkdir -p artifacts
32
32
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
38
33
}
39
- trap at-exit EXIT
34
+ trap show-stats EXIT
40
35
41
36
projects=" ${1} "
42
37
targets=" ${2} "
43
38
44
39
echo " --- cmake"
45
40
pip install -q -r " ${MONOREPO_ROOT} " /mlir/python/requirements.txt
46
- pip install -q -r " ${MONOREPO_ROOT} " /.ci/requirements.txt
47
41
48
42
# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
49
43
# 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