Skip to content

gn build: libcxx: Sync file list and always define _LIBCPP_ABI_VERSION. #132135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

pcc
Copy link
Contributor

@pcc pcc commented Mar 20, 2025

The CMake side always defines _LIBCPP_ABI_VERSION. If we do not, we will
at least get -Wundef warnings in the test suite (upgraded to errors)
and it looks like we will end up building the library incorrectly as well.

With that, most of the libc++ test suite passes (with a manually written
lit.site.cfg) aside from some parts related to C++ modules which we
don't support yet.

Created using spr 1.3.6-beta.1
@pcc pcc requested review from nico and aeubanks March 20, 2025 02:23
@pcc pcc merged commit 909bff8 into main Mar 20, 2025
12 checks passed
@pcc pcc deleted the users/pcc/spr/gn-build-libcxx-sync-file-list-and-always-define-_libcpp_abi_version branch March 20, 2025 17:50
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Mar 20, 2025
…_ABI_VERSION.

The CMake side always defines _LIBCPP_ABI_VERSION. If we do not, we will
at least get -Wundef warnings in the test suite (upgraded to errors)
and it looks like we will end up building the library incorrectly as well.

With that, most of the libc++ test suite passes (with a manually written
lit.site.cfg) aside from some parts related to C++ modules which we
don't support yet.

Reviewers: nico, aeubanks

Reviewed By: aeubanks

Pull Request: llvm/llvm-project#132135
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants