[llvm] [CI] Run LLDB tests on Clang changes in pre-merge CI (PR #154154)

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 09:50:29 PDT 2025


https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/154154

>From bf79ccf025ab1460d9fe434e032fb83491bd56a4 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Mon, 18 Aug 2025 17:30:25 +0100
Subject: [PATCH 1/2] [CI] Run LLDB tests on Clang changes in pre-merge CI

This attempts https://github.com/llvm/llvm-project/issues/132795 again.
Last time we tried this we didn't have enough infra capacity, so had to
revert. According to recent communication from the Infrastructure Area
Team, we should now have enough capacity to re-enable the LLDB tests.
---
 .ci/compute_projects.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index a26e82ae0b96c..8567552fa25a6 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -49,8 +49,7 @@
         "flang",
     },
     "lld": {"bolt", "cross-project-tests"},
-    # TODO(issues/132795): LLDB should be enabled on clang changes.
-    "clang": {"clang-tools-extra", "cross-project-tests"},
+    "clang": {"clang-tools-extra", "cross-project-tests", "lldb"},
     "mlir": {"flang"},
     # Test everything if ci scripts are changed.
     ".ci": {

>From 08fa76eff7d0a730617c2444e39a23a3c34ee690 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Mon, 18 Aug 2025 17:50:19 +0100
Subject: [PATCH 2/2] fixup! fix test

---
 .ci/compute_projects_test.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.ci/compute_projects_test.py b/.ci/compute_projects_test.py
index 29456adc3668d..2d1fe2e227d3f 100644
--- a/.ci/compute_projects_test.py
+++ b/.ci/compute_projects_test.py
@@ -83,11 +83,11 @@ def test_clang(self):
         )
         self.assertEqual(
             env_variables["projects_to_build"],
-            "clang;clang-tools-extra;lld;llvm",
+            "clang;clang-tools-extra;lld;lldb;llvm",
         )
         self.assertEqual(
             env_variables["project_check_targets"],
-            "check-clang check-clang-tools",
+            "check-clang check-clang-tools check-lldb",
         )
         self.assertEqual(
             env_variables["runtimes_to_build"], "compiler-rt;libcxx;libcxxabi;libunwind"
@@ -158,7 +158,7 @@ def test_cir(self):
         )
         self.assertEqual(
             env_variables["projects_to_build"],
-            "clang;clang-tools-extra;lld;llvm;mlir",
+            "clang;clang-tools-extra;lld;lldb;llvm;mlir",
         )
         self.assertEqual(
             env_variables["project_check_targets"],



More information about the llvm-commits mailing list