Skip to content

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 aeubanks and nico 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.

3 participants