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

Should we include lib++ and libc++abi here? #70

Closed
sbc100 opened this issue May 17, 2019 · 3 comments
Closed

Should we include lib++ and libc++abi here? #70

sbc100 opened this issue May 17, 2019 · 3 comments

Comments

@sbc100
Copy link
Member

sbc100 commented May 17, 2019

Right now we build them separately on top of this repo (at least on the wasm waterfall).

It seems that we should be including them if we want to continue to call this "sysroot". Otherwise we should rename this to "wasi-libc".. since its just one component of a sysroot.

If we do want to include them here I suggest we do so via git submodule of https://github.com/llvm-mirror/libcxx etc.. since AFAICT they don't need any modification.

@sunfishcode
Copy link
Member

It's a good question. The Rust WASI toolchain also uses this wasi-sysroot, and doesn't need it to include a libc++ or libc++abi, which suggests we keep them separate. And I agree, in that case "wasi-libc" is a better name for this repo. Since we're already discussing renaming it as part of the discussion of where this will live, it may make sense to rename "sysroot" to "libc" at that time too.

wasi-sdk is a repo which pulls in wasi-sysroot, libc++, libc++abi, compiler-rt, llvm, and clang, all as plain git modules, which sounds like it might be closer to what you want here. Would it make sense to switch the wasm waterfall to use wasi-sdk instead of wasi-sysroot directly?

The wasi-sdk git module points to the LLVM 8.0 release branch, while iirc the waterfall uses LLVM master. But you can tell the wasi-sdk Makefile to use a different LLVM, and it works with LLVM master.

@sbc100
Copy link
Member Author

sbc100 commented May 20, 2019

SGTM wrt to moving and renaming this repo. I also agree that keeping this repo scoped down is a good idea.

I think I'll open a separate issue discuses what we want to do about the current overlap between the waterfall and the wasi-sdk.

@sunfishcode
Copy link
Member

The repo is now renamed wasi-libc; moving it is being discussed elsewhere. I think we're in agreement to not include libc++ or libc++abi here, so we can close this issue.

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

No branches or pull requests

2 participants