[libcxx-commits] [libcxx] [llvm] [libcxx][Github] Add generic-llvm-libc config to CI (PR #193822)
Aiden Grossman via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 23 11:58:23 PDT 2026
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/193822
Add the generic-llvm-libc config for CI so that we can ensure we do not regress the config and easily test changes as we do more work.
Only run libcxx/libxxabi tests for now as libunwind fails to build due to a missing dl_iterate_phdr implementation. It technically passes when we enable the stub implementation, but we should have a reasonable implementation before actually enabling.
>From f2715bba45ec790c2856e14eabd360d3176ed2ef Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Thu, 23 Apr 2026 18:56:44 +0000
Subject: [PATCH] [libcxx][Github] Add generic-llvm-libc config to CI
Add the generic-llvm-libc config for CI so that we can ensure we do not
regress the config and easily test changes as we do more work.
Only run libcxx/libxxabi tests for now as libunwind fails to build due
to a missing dl_iterate_phdr implementation. It technically passes when
we enable the stub implementation, but we should have a reasonable
implementation before actually enabling.
---
.github/workflows/libcxx-build-and-test.yaml | 1 +
libcxx/utils/ci/run-buildbot | 14 +++++++++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/libcxx-build-and-test.yaml b/.github/workflows/libcxx-build-and-test.yaml
index 83f8f89ac5fe2..c5421addefa30 100644
--- a/.github/workflows/libcxx-build-and-test.yaml
+++ b/.github/workflows/libcxx-build-and-test.yaml
@@ -144,6 +144,7 @@ jobs:
'generic-hardening-mode-extensive-observe-semantic',
'generic-hardening-mode-fast',
'generic-hardening-mode-fast-with-abi-breaks',
+ 'generic-llvm-libc',
'generic-merged',
'generic-modules-cxx17-lsv',
'generic-no-exceptions',
diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index cbb0846dfc7d1..44507f05011fa 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -466,7 +466,19 @@ generic-llvm-libc)
# Ensure we have the builtins archive built as we pass it in explicitly in
# the test config.
ninja -vC "${BUILD_DIR}" libclang_rt.builtins-x86_64.a
- check-runtimes
+
+ # Manually run only libcxx/libcxxabi tests as we currently cannot build
+ # libunwind due to a missing dl_iterate_phdr implementation.
+ # TODO(boomanaiden154): Remove this once we can build libunwind and pass
+ # the tests.
+ step "Building libc++ test dependencies"
+ ninja -vC "${BUILD_DIR}" cxx-test-depends
+
+ step "Running the libc++ tests"
+ ninja -vC "${BUILD_DIR}" check-cxx
+
+ step "Running the libc++abi tests"
+ ninja -vC "${BUILD_DIR}" check-cxxabi
;;
#
# Module builds
More information about the libcxx-commits
mailing list