Skip to content
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

wasi-sdk support for full LTO. #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

wasi-sdk support for full LTO. #89

wants to merge 1 commit into from

Conversation

sunfishcode
Copy link
Member

Add support for building libcxx and libcxxabi in LTO mode, along aside
the regular non-LTO builds.

Pass CLANG_VERSION to the wasi-libc build so that it can build itself in
LTO and non-LTO modes.

And drop the explicit -O1 from the compiler-rt build, and just go with
the default optimization settings.

sunfishcode added a commit that referenced this pull request Mar 17, 2020
These changes are factored out of #89. NFC.
sunfishcode added a commit that referenced this pull request Mar 18, 2020
These changes are factored out of #89. NFC.
Add support for building libcxx and libcxxabi in LTO mode, along aside
the regular non-LTO builds.

Pass CLANG_VERSION to the wasi-libc build so that it can build itself in
LTO and non-LTO modes.

And drop the explicit -O1 from the compiler-rt build, and just go with
the default optimization settings.
@sunfishcode
Copy link
Member Author

This is now rebased on top of #106, so the changes are much clearer now.

@sunfishcode sunfishcode mentioned this pull request Oct 27, 2020
Base automatically changed from master to main January 19, 2021 23:27
@abrown
Copy link
Collaborator

abrown commented Mar 13, 2023

@sunfishcode, this seems like a nice feature to have, do you want to rebase it?

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