Skip to content

Add pyodide xbuildenv install-emscripten command #241

@ryanking13

Description

@ryanking13

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions