]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95853: Add script to automate WASM build (GH-95828) 95955/head
authorChristian Heimes <christian@python.org>
Sat, 13 Aug 2022 19:56:08 +0000 (21:56 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Aug 2022 19:56:08 +0000 (21:56 +0200)
commit32ac98e8992caa47ff31e3021444949df058e413
tree4128d6224637006b2ab3f1b37f9b1e941fdfbee7
parent0b329f4f03b3e2d603cf81c39e7c9d83da123717
gh-95853: Add script to automate WASM build (GH-95828)

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 <brett@python.org>
Lib/test/test_unicode_file_functions.py
Lib/test/test_warnings/__init__.py
Misc/NEWS.d/next/Tools-Demos/2022-08-10-17-08-43.gh-issue-95853.HCjC2m.rst [new file with mode: 0644]
Python/sysmodule.c
Tools/wasm/README.md
Tools/wasm/wasi-env
Tools/wasm/wasm_build.py [new file with mode: 0755]
configure
configure.ac