mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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>
This commit is contained in:
parent
0b329f4f03
commit
32ac98e899
9 changed files with 828 additions and 22 deletions
|
@ -72,4 +72,5 @@ export CFLAGS LDFLAGS
|
|||
export PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR
|
||||
export PATH
|
||||
|
||||
exec "$@"
|
||||
# no exec, it makes arvg[0] path absolute.
|
||||
"$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue