diff --git a/Tools/wasm/wasm_build.py b/Tools/wasm/wasm_build.py index bcb80212362b71..e9338583613b54 100755 --- a/Tools/wasm/wasm_build.py +++ b/Tools/wasm/wasm_build.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 """Build script for Python on WebAssembly platforms. - $ ./Tools/wasm/wasm_builder.py emscripten-browser build repl - $ ./Tools/wasm/wasm_builder.py emscripten-node-dl build test - $ ./Tools/wasm/wasm_builder.py wasi build test + $ ./Tools/wasm/wasm_build.py emscripten-browser build repl + $ ./Tools/wasm/wasm_build.py emscripten-node-dl build test + $ ./Tools/wasm/wasm_build.py wasi build test Primary build targets are "emscripten-node-dl" (NodeJS, dynamic linking), "emscripten-browser", and "wasi". @@ -18,7 +18,7 @@ The 'build' Python interpreter must be rebuilt every time Python's byte code changes. - ./Tools/wasm/wasm_builder.py --clean build build + ./Tools/wasm/wasm_build.py --clean build build """ import argparse @@ -291,7 +291,7 @@ def _check_emscripten() -> None: EMSCRIPTEN = Platform( "emscripten", pythonexe="python.js", - config_site=WASMTOOLS / "config.site-wasm32-emscripten", + config_site=WASMTOOLS / "emscripten"/ "config.site-wasm32-emscripten", configure_wrapper=EMSCRIPTEN_ROOT / "emconfigure", ports=EMSCRIPTEN_ROOT / "embuilder", cc=EMSCRIPTEN_ROOT / "emcc", @@ -319,7 +319,7 @@ def _check_wasi() -> None: WASI = Platform( "wasi", pythonexe="python.wasm", - config_site=WASMTOOLS / "config.site-wasm32-wasi", + config_site=WASMTOOLS / "wasi" / "config.site-wasm32-wasi", configure_wrapper=WASMTOOLS / "wasi-env", ports=None, cc=WASI_SDK_PATH / "bin" / "clang",