-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
emscripten ports USE_SDL=2 auto compile fails when using multiple emcc processes for the first time. #3033
Comments
Yes, I tend to agree. We had a discussion on the mailing list, and do want to make this more explicit and less automatic. So there would be a tool to fetch ports and build them, before running emcc, something like that. I'm not sure though when this will be implemented. Meanwhile, it's not too hard to work around I hope. |
@kripken are there any design guidelines about how the ports tool should work? I have a project that does something similar and could start working on that right away. |
The relevant mailing list post is https://groups.google.com/forum/#!msg/emscripten-discuss/Fsa-VDOHt6Q/SBRocui02lkJ , but it goes into more detail than necessary. For here, I think the following are the main points:
|
Compiling a simple test does not resolve the issue on OSX. |
The |
This issue has been automatically marked as stale because there has been no activity in the past 2 years. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant. |
We have threaded build system and starts multiple emcc process, if SDL2 hasn't been compiled before, all emcc processes try to compile SDL2, with many processes ultimately failing.
I think auto compile is not entirely a good option, maybe let emcc download prebuilt .a's SDL2 on demand and limit emscripten ports to prebuilt .a's and header files.
The text was updated successfully, but these errors were encountered: