-
Notifications
You must be signed in to change notification settings - Fork 29
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
Preserve compiled libs #8
Comments
I'm also running into the issue that libclang.so is missing, which makes eg Rust builds fail. |
Hi @remram44, I can complete the emscripten image with the missing dependency. |
I'm getting:
if I install libclang-dev from apt first. |
Interesting, I'll look if we can compile / preserve libclang from emscripten compilation step. |
@remram44 I found it, it can be preserved. Do you have some minimal test case what I can run to verify if my patch works? Alternatively you can extract llvm_clang_lib.tar.gz (from compiling latest version of Emscripten) to -- |
I'm happy to test this. I can try to make a smaller Rust example. |
Here's my minified example: https://github.com/remram44/test-rust-emscripten |
Seems to work with the libs, and not without it. I'll let you know if my full project compiles, seems to be taking a while (would it be building the SDL2 port behind the scenes?) |
Yes, none of ports are baked into the image. Thank you for reporting |
I can't seem to build the port, emcc ends up spawning more processes endlessly until my system runs out of memory (827 |
Turns out setting |
ATM
emscripten
image compiles all ports, but do not preserve output (due a size ~1GB), this might be done as a separated imageemscripten-full
The text was updated successfully, but these errors were encountered: