[llvm] [CI][Github] Fix Premerge Summary for Build Failures (PR #153076)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 11 12:56:01 PDT 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/153076
None
>From 7ea05cf476b1678a114fcb223a54fd8c0ee9fa8f Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Mon, 11 Aug 2025 19:55:16 +0000
Subject: [PATCH] Testing
---
.ci/utils.sh | 1 +
llvm/include/llvm/ADT/SmallVector.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/.ci/utils.sh b/.ci/utils.sh
index 30bf2d9df5ca1..dd198490ea026 100644
--- a/.ci/utils.sh
+++ b/.ci/utils.sh
@@ -26,6 +26,7 @@ function at-exit {
mkdir -p artifacts
sccache --show-stats >> artifacts/sccache_stats.txt
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
+ cp "${BUILD_DIR}"/*.log artifacts/ || :
cp "${BUILD_DIR}"/test-results.*.xml artifacts/ || :
# If building fails there will be no results files.
diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h
index 80f7734b86907..25dede75c9214 100644
--- a/llvm/include/llvm/ADT/SmallVector.h
+++ b/llvm/include/llvm/ADT/SmallVector.h
@@ -31,6 +31,8 @@
#include <type_traits>
#include <utility>
+THIS WILL CAUSE A BUILD ERROR
+
namespace llvm {
template <typename T> class ArrayRef;
More information about the llvm-commits
mailing list