-
Notifications
You must be signed in to change notification settings - Fork 192
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
Enable threading in libcxx in all cases #498
base: main
Are you sure you want to change the base?
Conversation
I kicked off the CI builds and it looks like they're failing with:
I think the failure is due to the fact that |
Could you do some measurements of the code size impact of this change? For a basic C++ program that doesn't use threads, how much code size difference is there between threading disabled in the libcxx build vs. threading stubbed out in libc? |
As far as I understand it, |
I just compared the size difference between a C++ the version with stubs and threading in libc++ is actually smaller (223K --> 183K) this is not at all a fair comparison, but the real different is probably minor? |
This has not been tested locally! I don't have enough disk space to store yet another LLVM tree, and I couldn't quite figure out how to test only the sysroot changes, so I'm hoping the CI pipeline can test this
This enables threads in libcxx for all builds, building on top of the stubs for libpthread