[llvm] [CI][NFC] Explicitly add libcxx/libcxxabi/libunwind to excludes (PR #152210)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 14:51:32 PDT 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/152210
This patch adds libcxx/libcxxabi/libunwind to the excludes list in compute_projects.py for both Windows and MacOS. Neither of these platforms have ever built the runtimes as the scripts do not have support for it. Explicitly disable them so that compute_projects_test.py is more consistent.
>From 9cf5d4973aed0ea73bbaa2a1e45be19bcfdf4ec5 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 5 Aug 2025 21:48:33 +0000
Subject: [PATCH] [CI][NFC] Explicitly add libcxx/libcxxabi/libunwind to
excludes
This patch adds libcxx/libcxxabi/libunwind to the excludes list in
compute_projects.py for both Windows and MacOS. Neither of these
platforms have ever built the runtimes as the scripts do not have
support for it. Explicitly disable them so that compute_projects_test.py
is more consistent.
---
.ci/compute_projects.py | 6 ++++++
.ci/compute_projects_test.py | 25 ++++++++-----------------
2 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index 2dc5629328457..5cb01ea705df5 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -100,6 +100,9 @@
"libc", # No Windows Support.
"lldb", # TODO(issues/132800): Needs environment setup.
"bolt", # No Windows Support.
+ "libcxx",
+ "libcxxabi",
+ "libunwind",
}
# These are projects that we should test if the project itself is changed but
@@ -118,6 +121,9 @@
"lldb",
"openmp",
"polly",
+ "libcxx",
+ "libcxxabi",
+ "libunwind",
}
PROJECT_CHECK_TARGETS = {
diff --git a/.ci/compute_projects_test.py b/.ci/compute_projects_test.py
index bd761198300a8..8485b3dc56673 100644
--- a/.ci/compute_projects_test.py
+++ b/.ci/compute_projects_test.py
@@ -45,16 +45,14 @@ def test_llvm_windows(self):
env_variables["project_check_targets"],
"check-clang check-clang-tools check-lld check-llvm check-mlir check-polly",
)
- self.assertEqual(
- env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
- )
+ self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
- "check-cxx check-cxxabi check-unwind",
+ "",
)
def test_llvm_mac(self):
@@ -69,16 +67,14 @@ def test_llvm_mac(self):
env_variables["project_check_targets"],
"check-clang check-clang-tools check-lld check-llvm check-mlir",
)
- self.assertEqual(
- env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
- )
+ self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
- "check-cxx check-cxxabi check-unwind",
+ "",
)
def test_clang(self):
@@ -119,16 +115,14 @@ def test_clang_windows(self):
self.assertEqual(
env_variables["project_check_targets"], "check-clang check-clang-tools"
)
- self.assertEqual(
- env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
- )
+ self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
- "check-cxx check-cxxabi check-unwind",
+ "",
)
self.assertEqual(env_variables["enable_cir"], "OFF")
@@ -298,18 +292,15 @@ def test_windows_ci(self):
)
self.assertEqual(
env_variables["runtimes_to_build"],
- "libcxx;libcxxabi;libunwind",
+ "",
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
- # TODO(boomanaiden154): We should not be emitting these on Windows.
- # It does not currently impact anything because we do not build the
- # runtimes on Windows though.
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
- "check-cxx check-cxxabi check-unwind",
+ "",
)
def test_lldb(self):
More information about the llvm-commits
mailing list