Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[libcxx][Github] Add generic-llvm-libc config to CI#193822

Open
boomanaiden154 wants to merge 9 commits intollvm:mainfrom
boomanaiden154:libcxx-generic-llvm-libc-premerge-ci
Open

[libcxx][Github] Add generic-llvm-libc config to CI#193822
boomanaiden154 wants to merge 9 commits intollvm:mainfrom
boomanaiden154:libcxx-generic-llvm-libc-premerge-ci

Conversation

@boomanaiden154
Copy link
Copy Markdown
Contributor

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.

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.
@boomanaiden154 boomanaiden154 requested a review from a team as a code owner April 23, 2026 18:58
@llvmbot llvmbot added libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. github:workflow labels Apr 23, 2026
@llvmbot
Copy link
Copy Markdown
Member

llvmbot commented Apr 23, 2026

@llvm/pr-subscribers-github-workflow

@llvm/pr-subscribers-libcxx

Author: Aiden Grossman (boomanaiden154)

Changes

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.


Full diff: https://github.com/llvm/llvm-project/pull/193822.diff

2 Files Affected:

  • (modified) .github/workflows/libcxx-build-and-test.yaml (+1)
  • (modified) libcxx/utils/ci/run-buildbot (+13-1)
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github:workflow libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants