Skip to content

Add script to automate WebAssembly builds #95853

Closed

Description

@tiran

Feature or enhancement

I propose to add a tool that automates WebAssembly builds and guides developers through installation process of SDKs.

Pitch

It is not trivial to build Python on WebAssembly platforms. Developers have to install the correct SDKs, active them or set env vars. They also have to build a build Python interpreter before they can compile Python to WASM. Each variant requires wrappers for configure and make and several configure arguments.

I'm going to automate the steps with a Python script. The script features several build profiles and can run tests, too.

  $ ./Tools/wasm/wasm_builder.py emscripten-browser compile
  $ ./Tools/wasm/wasm_builder.py emscripten-node-dl test
  $ ./Tools/wasm/wasm_builder.py wasi test

Activity

  1. added a commit that references this issue on Aug 13, 2022
  2. added a commit that references this issue on Aug 13, 2022
  3. added 6 commits that reference this issue on Aug 14, 2022
  4. added 6 commits that reference this issue on Aug 29, 2022
  5. 8 remaining items

  6. added 10 commits that reference this issue on Sep 10, 2022
  7. moved this from Todo to Done in WASI to tier 2on Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions