Skip to content

[3.11] gh-95853: Add script to automate WASM build (GH-95828) #95968

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

Closed

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 13, 2022

Automate WASM build with a new Python script. The script provides
several build profiles with configure flags for Emscripten flavors
and WASI. The script can detect and use Emscripten SDK and WASI SDK from
default locations or env vars.

configure now detects Node arguments and creates HOSTRUNNER
arguments for Node 16. It also sets correct arguments for
wasm64-emscripten.

Co-authored-by: Brett Cannon [email protected]
(cherry picked from commit 32ac98e)

Co-authored-by: Christian Heimes [email protected]

Automate WASM build with a new Python script. The script provides
several build profiles with configure flags for Emscripten flavors
and WASI. The script can detect and use Emscripten SDK and WASI SDK from
default locations or env vars.

``configure`` now detects Node arguments and creates HOSTRUNNER
arguments for Node 16. It also sets correct arguments for
``wasm64-emscripten``.

Co-authored-by: Brett Cannon <[email protected]>
(cherry picked from commit 32ac98e)

Co-authored-by: Christian Heimes <[email protected]>
@tiran
Copy link
Member

tiran commented Aug 13, 2022

I like to land the script and improvements in 3.11 eventually so developers have an easier time testing Python on WASM platforms. The PR can be delayed until 3.11.0 final is out.

@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅ .

@tiran tiran closed this Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants