aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Tools/wasm
Commit message (Collapse)AuthorAge
* Clarify some wording in `wasi(\.py)?` (GH-133619)Brett Cannon3 days
|
* wasi: Update the location of the 'config.site' file in the build script ↵Zachary Ware4 days
| | | | | (GH-133611) Also remove Tools/wasm from mypy CI workflow
* GH-133600: Refactor `wasi.py` into `wasi/__main__.py`Brett Cannon4 days
| | | | Along the way, also move related files into their appropriate directories and update `.github/CODEOWNERS`.
* gh-133259: Show path to python.sh script on successful build (#133268)Michael Droettboom10 days
| | | | | * gh-133259: Show path to python.sh script on successful build * wasmtime -> (generic) wasm runtime
* Silence system utils tests in emscripten python.sh (#133044)Lukas14 days
| | | Ensure that checks for system functions don't leak onto stdout on failure.
* Fix some typos in various doc files (GH-132589)Yongzi Li2025-04-16
|
* gh-127146: Fix Emscripten build with --pydebug (#131672)Hood Chatham2025-03-25
| | | | Removes an explicit check that sysconfigdata naming is correct, in favor of reporting at runtime with the default mechanisms.
* gh-127146: Update test skips for Emscripten 4.0.2 (#129474)Hood Chatham2025-03-17
| | | Updates test skips to reflect capabilities of Emscripten 4.0.2.
* gh-131152: Remove unused imports from `Tools/{build,wasm}` (#131155)Victor Stinner2025-03-13
|
* gh-127503: Improve tracebacks on Emscripten when there is a trap (#131158)Hood Chatham2025-03-13
| | | | | | | | Modifies the behavior of the interpreter on crash under Emscripten: 1. No Python traceback shown on segfault/trap 2. The JavaScript source line is shown The JavaScript source line is super long and completely unenlightening, whereas the Python traceback is very helpful.
* Emscripten: use better `_Py_Version` computation for worker module (#129757)Agriya Khetarpal2025-02-07
| | | Use integer bit shifting instead of conversion to strings to compute Python version.
* gh-127629: Add ctypes to the Emscripten build (#127683)Hood Chatham2024-12-10
| | | Adds tooling to build libffi and add ctypes to the stdlib for Emscripten.
* gh-127503: Fix realpath handling in emscripten cli (#127632)Hood Chatham2024-12-09
| | | Corrects the handling of realpath on Linux.
* gh-127503 Don't propagate native PATH to Emscripten Python (#127633)Hood Chatham2024-12-09
| | | | Modifies the handling of PATH to ensure that native executables aren't picked up when running under node.
* GH-127652: stop using `--wasi preview2` in `wasi.py` (GH-127704)Brett Cannon2024-12-06
| | | It's only to use WASI 0.2 code to back preview1 APIs and is considered experimental anyway.
* gh-127503: Emscripten make Python.sh function as proper Python CLI (#127506)Hood Chatham2024-12-05
| | | Modifies the python.sh script to work on macOS, and adapt to recent emscripten changes.
* gh-127111: Apply prettier formatter to Emscripten web example (#127551)Hood Chatham2024-12-05
| | | Cleaned up formatting (and a stray closing tag) of the web example HTML and JS.
* gh-127111: Emscripten Make web example work again (#127113)Hood Chatham2024-12-03
| | | | | Moves the Emscripten web example into a standalone folder, and updates Makefile targets to build the web example. Instructions for usage have also been added.
* gh-126898: Emscripten support: Use es6 modules (#126903)Hood Chatham2024-11-21
| | | | Modify Emscripten support to use ES6 modules.
* gh-126691: Remove --with-emscripten-target (#126787)Hood Chatham2024-11-16
| | | | | This unifies the code for nodejs and the code for the browser. After this commit, the browser example doesn't work; this will be fixed in a subsequent update.
* gh-126187 Add emscripten.py script to automate emscripten build (#126190)Hood Chatham2024-11-09
| | | | | Add emscripten.py script to automate emscripten build. This is modeled heavily on `Tools/wasm/wasi.py`. This will form the basis of an Emscripten build bot.
* GH-123877: default to `wasm32-wasip1` instead of `wasm32-wasi` to be more ↵Brett Cannon2024-11-07
| | | | | | | | | specific (GH-126552) Eventually wasm32-wasi will represent WASI 1.0, and so it's currently deprecated so it can be used for that eventual purpose. wasm32-wasip1 is also more specific to what version of WASI is currently supported. --------- Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-124928: Emscripten node support: Clean up old node <= 16 flags (#124929)Hood Chatham2024-10-29
| | | | | | Clean up configure flags for old node versions These flags are only needed for node <= 16. Node 16 has been end of life since October of 2023.
* Remove some unused files related to WASM/WASI (GH-124635)Brett Cannon2024-09-26
|
* GH-121634: have `wasi.py` accept the host target triple as an argument ↵Brett Cannon2024-08-15
| | | | (GH-123030)
* GH-120371: Add WASI SDK 22 support (GH-121870)Brett Cannon2024-07-16
| | | Required disabling stub functions now provided by wasi-libc.
* GH-121521: Detect when wasmtime is not installed in `Tools/wasm/wasi.py` ↵Brett Cannon2024-07-09
| | | | (GH-121522)
* gh-120507: Double WASI memory (#120648)Victor Stinner2024-06-17
| | | | Use 16 MiB stack with 40 MiB memory limit, instead of 8 MiB stack with 20 MiB memory limit.
* gh-97747: Improvements to WASM browser REPL. (#97665)Katie Bell2024-05-31
| | | | | Improvements to WASM browser REPL. Adds a text box to write and run code outside the REPL, a stop button, and handling of Ctrl-D for EOF.
* Fix typos in comments (#119645)Xie Yanbo2024-05-28
|
* Fix typo in Tools/wasm/README.md(#118358)Xie Yanbo2024-04-28
|
* GH-116314: Update `Tools/wasm/README.md` to point to the devguide for ↵Brett Cannon2024-03-07
| | | | building for WASI (GH-116445)
* GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 ↵Brett Cannon2024-03-05
| | | | | | | | | primitives (#116327) * GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives * Add the configure changes * Update `wasm_build.py`
* GH-115978: Disable `*readv()` and `*writev()` on WASI (GH-116228)Brett Cannon2024-03-01
| | | Wasmtime doesn't implement these functions in a way to pass test_posix (https://github.com/bytecodealliance/wasmtime/issues/7830).
* GH-113516: don't set `LDSHARED` when building for WASI (GH-115495)Brett Cannon2024-02-15
|
* Update README.md (#114974)Skip Montanaro2024-02-04
| | | | | Trivial edit Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* Fix `wasi.py build` after adding the `clean` subcommand. ({GH-114447)Brett Cannon2024-01-22
|
* Add a `clean` subcommand to `Tools/wasm/wasi.py` (GH-114274)Brett Cannon2024-01-19
|
* GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097)Brett Cannon2024-01-16
| | | Also fix tests found failing under a pydebug build of WASI thanks to `make test` working due to this change.
* Clarify that WASI tool requirements are included in the devcontainer (GH-112561)Brett Cannon2023-11-30
|
* GH-103065, GH-106704, GH-105253: Provide a `Tools/wasm/wasi.py` script to ↵Brett Cannon2023-11-29
| | | | simplify doing a WASI build (GH-112473)
* gh-109649: Use os.process_cpu_count() (#110165)Victor Stinner2023-10-01
| | | | | | | | | | | | | | | | | | | | Replace os.cpu_count() with os.process_cpu_count() in modules: * compileall * concurrent.futures * multiprocessing Replace os.cpu_count() with os.process_cpu_count() in programs: * _decimal deccheck.py test * freeze.py * multissltests.py * python -m test (regrtest) * wasm_build.py Other changes: * test.pythoninfo logs os.process_cpu_count(). * regrtest gets os.process_cpu_count() / os.cpu_count() in headers.
* Fix argument ordering of embuilder command documented in ↵OmniTroid2023-09-26
| | | | `Tools/wasm/README.md` (GH-109863)
* gh-109125: Run mypy on `Tools/wasm` (#109126)Nikita Sobolev2023-09-18
|
* Fix invocation of wasm_build.py for node (GH-109383)Sam Gross2023-09-13
|
* wasm: do not use inline comment in .editorconfig (#106610)Eisuke Kawashima2023-07-11
| | | | It is no longer valid since 0.15.0 https://github.com/editorconfig/specification/blob/v0.15/index.rst#no-inline-comments
* gh-101538: Add experimental wasi-threads build (#101537)YAMAMOTO Takashi2023-06-22
| | | | Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* GH-102404, GH-100956: Document how to do a WASI build (GH-105251)Brett Cannon2023-06-02
| | | Also includes a reference shell script to implements what is documented.
* gh-104773: PEP 594: Remove the audioop module (#104937)Victor Stinner2023-05-25
|
* gh-104773: PEP 594: Remove the aifc module (#104933)Victor Stinner2023-05-25
| | | | * Remove .aifc and .aiff test files of Lib/test/audiodata/ * Remove Lib/test/Sine-1000Hz-300ms.aif test file