]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-95853: Add script to automate WASM build (GH-95828, GH-95985, GH-96045...
authorChristian Heimes <christian@python.org>
Tue, 13 Sep 2022 10:06:39 +0000 (12:06 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Sep 2022 10:06:39 +0000 (12:06 +0200)
commit4958820032d547cf7a1ebd619460d778ec143f9c
treec815e5ef7fc33c15f794534ced51d72616cf6844
parent390123b412346eb4438665f068bb73226ac84e7c
[3.11] gh-95853: Add script to automate WASM build (GH-95828, GH-95985, GH-96045, GH-96389, GH-96744) (GH-96749)

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``.
16 files changed:
Lib/distutils/tests/test_sysconfig.py
Lib/test/test_decimal.py
Lib/test/test_sysconfig.py
Lib/test/test_unicode_file_functions.py
Lib/test/test_warnings/__init__.py
Makefile.pre.in
Misc/NEWS.d/next/Tools-Demos/2022-08-10-17-08-43.gh-issue-95853.HCjC2m.rst [new file with mode: 0644]
Misc/NEWS.d/next/Tools-Demos/2022-08-29-17-25-13.gh-issue-95853.Ce17cT.rst [new file with mode: 0644]
Modules/pyexpat.c
Python/sysmodule.c
Tools/wasm/README.md
Tools/wasm/wasi-env
Tools/wasm/wasm_assets.py
Tools/wasm/wasm_build.py [new file with mode: 0755]
configure
configure.ac