Update README to include Archlinux AUR package link#235
Update README to include Archlinux AUR package link#235sunfishcode merged 2 commits intoWebAssembly:mainfrom
Conversation
Just created an AUR repo at https://aur.archlinux.org/packages/wasi-libc-git/ . Add its link to README to help fellow Archlinux users
|
Pretty cool. Does that that arch linux user who install this packages can just type Is there some way I can see the package contents (just out of interest). |
README.md
Outdated
| extra setup. This is one of the things [wasi-sdk] simplifies, as it includes | ||
| cross-compiled builds of compiler-rt, libc++.a, and libc++abi.a. | ||
|
|
||
| ## AUR package |
There was a problem hiding this comment.
Perhaps put "Arch Linux" in the heading here.. since its more meaningful that "AUR package"... I had to look up that the latter was.
You can also ways say something like "For Arch Linux there is a unofficial (AUR) package..."
The usage is printed out after installation at ( post_install() {
echo "Use this lib with clang --target=wasm32-unknown-wasi --sysroot /opt/wasi-libc"
}
Users are supposed to build the package on their own machines. Attached the package built on my machine below. |
Sounds good. I wonder if one day we could make this work with normal multi-arch path heirchary to avoid the need to specify a sysroot. i.e. install in /usr/lib/wam32-wasi-unknown and /usr/include/wasm32-wasi-unknown and then clang should be able pick them up by default? I'm not sure this works today but I think its a good goal.
|
sbc100
left a comment
There was a problem hiding this comment.
lgtm, but I'll leave it to @pchickey or @sunfishcode to give the final approval.
Yeah I think that should eventually be the case, but I would like to postpone it until #154 gets merged, as with CMake we can easily install to multi-arch paths with |
|
Looks good to me. |
Just created an AUR repo at https://aur.archlinux.org/packages/wasi-libc-git/. Add its link to README to help fellow Archlinux users.