From 86dc82fd2b99c17149089a84b8586b43299f3920 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 27 Aug 2025 23:46:43 +0000 Subject: [PATCH] [CI] Upload lit test timing files This patch makes it so that the postcommit builders upload the lit timing files to the GCS buckets. Once the caches get populated we can add support to the premerge builders for pulling this in. --- zorg/buildbot/builders/annotated/premerge/dispatch_job.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zorg/buildbot/builders/annotated/premerge/dispatch_job.py b/zorg/buildbot/builders/annotated/premerge/dispatch_job.py index 2310a5058..d945ba94b 100644 --- a/zorg/buildbot/builders/annotated/premerge/dispatch_job.py +++ b/zorg/buildbot/builders/annotated/premerge/dispatch_job.py @@ -110,6 +110,7 @@ def start_build_linux(commit_sha: str, bucket_name: str, k8s_client) -> str: "export SCCACHE_IDLE_TIMEOUT=0", "sccache --start-server", './.ci/monolithic-linux.sh "bolt;clang;clang-tools-extra;flang;libclc;lld;lldb;llvm;mlir;polly" "check-bolt check-clang check-clang-tools check-flang check-lld check-lldb check-llvm check-mlir check-polly" "compiler-rt;libc;libcxx;libcxxabi;libunwind" "check-compiler-rt check-libc" "check-cxx check-cxxabi check-unwind" "OFF"', + "python .ci/cache_lit_timing_files.py upload", "echo BUILD FINISHED", ] start_build( @@ -133,6 +134,7 @@ def start_build_windows(commit_sha: str, bucket_name: str, k8s_client): "export SCCACHE_IDLE_TIMEOUT=0", "sccache --start-server", '.ci/monolithic-windows.sh "clang;clang-tools-extra;libclc;lld;llvm;mlir;polly" "check-clang check-clang-tools check-lld check-llvm check-mlir check-polly"', + "python .ci/cache_lit_timing_files.py upload", "echo BUILD FINISHED", ] bash_command = f"bash -c \"{';'.join(bash_commands)}\"\""