-
Notifications
You must be signed in to change notification settings - Fork 23
Description
This issue proposes to add a new subcommand under pyodide xbuildenv that installs emscripten.
This has been discussed a lot before, but we haven't been providing this command, as we thought it was not our responsibility to install emscripten.
However, as we often have Emscripten patches that affect Package build, I think it would be reasonable to provide a subcommand under pyodide-build to install emscripten and apply patches.
My proposal is to add it under the xbuildenv subcommand, say pyodide xbuildenv install-emscripten. This command should install and activate the emscripten inside the xbuildenv directory (Note that we have a subdirectory per pyodide version).
We also need to provide a way to automatically add the installed emscripten to PATH. Otherwise, we can provide another subcommand to show the path to theemsdk_env.sh so that user can activate it manually in their shell.