summaryrefslogtreecommitdiffstats
path: root/Tools/wasm/README.md
Commit message (Collapse)AuthorAgeFilesLines
* gh-127629: Add ctypes to the Emscripten build (#127683)Hood Chatham2024-12-101-0/+1
| | | Adds tooling to build libffi and add ctypes to the stdlib for Emscripten.
* gh-127111: Emscripten Make web example work again (#127113)Hood Chatham2024-12-021-36/+86
| | | | | 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-126691: Remove --with-emscripten-target (#126787)Hood Chatham2024-11-161-6/+0
| | | | | 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-091-136/+28
| | | | | 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.
* Fix typo in Tools/wasm/README.md(#118358)Xie Yanbo2024-04-281-1/+1
|
* GH-116314: Update `Tools/wasm/README.md` to point to the devguide for ↵Brett Cannon2024-03-071-61/+3
| | | | building for WASI (GH-116445)
* Update README.md (#114974)Skip Montanaro2024-02-041-1/+1
| | | | | Trivial edit Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* Clarify that WASI tool requirements are included in the devcontainer (GH-112561)Brett Cannon2023-11-301-8/+8
|
* GH-103065, GH-106704, GH-105253: Provide a `Tools/wasm/wasi.py` script to ↵Brett Cannon2023-11-301-72/+40
| | | | simplify doing a WASI build (GH-112473)
* Fix argument ordering of embuilder command documented in ↵OmniTroid2023-09-261-1/+1
| | | | `Tools/wasm/README.md` (GH-109863)
* Fix invocation of wasm_build.py for node (GH-109383)Sam Gross2023-09-131-1/+1
|
* GH-102404, GH-100956: Document how to do a WASI build (GH-105251)Brett Cannon2023-06-021-174/+146
| | | Also includes a reference shell script to implements what is documented.
* Fix typo and old link in wasm readme (#101096)Zac Hatfield-Dodds2023-01-181-2/+2
|
* Fix typo in Tools/wasm/README.md (GH-99384)Ikko Ashimine2022-11-111-1/+1
| | | | | Noticable -> Noticeable Automerge-Triggered-By: GH:AlexWaygood
* gh-92584: Remove the distutils package (#99061)Victor Stinner2022-11-031-2/+2
| | | | | | | | | | | | Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils
* gh-95853: Multiple ops and debug for wasm_build.py (#96744)Christian Heimes2022-09-111-12/+40
|
* gh-95853: Add script to automate WASM build (GH-95828)Christian Heimes2022-08-131-7/+35
| | | | | | | | | | | | 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>
* gh-95174: Add pthread stubs for WASI (GH-95234)Christian Heimes2022-07-271-13/+4
| | | Co-authored-by: Brett Cannon <brett@python.org>
* gh-95174: Move WASIX logic into wasi-env (GH-95320)Christian Heimes2022-07-271-3/+2
| | | | | | wasi-env now sets WASIX flags. This allows us to control all build parameter for wasm32-wasi buildbot from CPython repository. Also export and improve SYSROOT parameter.
* gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086)Christian Heimes2022-07-271-1/+1
|
* gh-95205: Improve WASM README.md (GH-95267)Christian Heimes2022-07-261-12/+44
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95205: Improve wasm README (#95206)Erlend Egeberg Aasland2022-07-251-2/+6
| | | Co-authored-by: Christian Heimes <christian@python.org>
* gh-84461: Build Emscripten with WASM BigInt support (#94219)Christian Heimes2022-06-241-1/+3
|
* gh-84461: Fix ctypes and test_ctypes on Emscripten (#94142)Christian Heimes2022-06-241-0/+2
| | | | | - c_longlong and c_longdouble need experimental WASM bigint. - Skip tests that need threading - Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
* gh-84461: Document how to install SDKs manually (GH-93844)Christian Heimes2022-06-151-0/+78
| | | Co-authored-by: Brett Cannon <brett@python.org>
* gh-90473: WASI requires proper open(2) flags (GH-93529)Christian Heimes2022-06-061-0/+3
|
* gh-90473: Skip and document more failing tests on WASI (GH-93436)Christian Heimes2022-06-021-1/+13
| | | | | | | - Mark more ``umask()`` cases - ``dup()`` is not supported - ``/dev/null`` is not available - document missing features - mark more modules as not available
* gh-90473: Misc test fixes for WASI (GH-93218)Christian Heimes2022-05-251-1/+5
| | | | | | | | * ``sys.executable`` is not set * WASI does not support subprocess * ``pwd`` module is not available * WASI checks ``open`` syscall flags more strict, needs r, w, rw flag. * ``umask`` is not available * ``/dev/null`` may not be accessible
* gh-90473: WASI: skip gethostname tests (GH-93092)Christian Heimes2022-05-231-0/+1
| | | | | | - WASI's ``gethostname()`` is a stub that always fails with OSError ``ENOTSUP`` - skip mailcap ``test`` if subprocess is not available - WASI process_time clock does not work.
* gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)Christian Heimes2022-05-191-2/+19
|
* gh-84461: Add --enable-wasm-pthreads and more file systems (GH-91820)Christian Heimes2022-04-231-10/+15
|
* gh-84461: Add sys._emscripten_info, improve docs and build (gh-91781)Christian Heimes2022-04-231-11/+54
|
* bpo-40280: WASM docs and smaller browser builds (GH-32412)Christian Heimes2022-04-101-3/+89
| | | Co-authored-by: Brett Cannon <brett@python.org>
* bpo-40280: Add limited Emscripten REPL (GH-32284)Christian Heimes2022-04-051-15/+44
| | | Co-authored-by: Katie Bell <katie@katharos.id.au>
* bpo-40280: Add --enable-wasm-dynamic-linking (GH-32253)Christian Heimes2022-04-041-12/+11
|
* bpo-40280: Address more test failures on Emscripten (GH-31050)Christian Heimes2022-02-051-19/+89
| | | Co-authored-by: Brett Cannon <brett@python.org>
* bpo-40280: Add --with-emscripten-target to build for browser or node (GH-30552)Christian Heimes2022-01-121-1/+17
| | | Co-authored-by: Ethan Smith <ethan@ethanhs.me>
* bpo-40280: Add Tools/wasm with helpers for cross building (GH-29984)Christian Heimes2021-12-181-0/+55
Co-authored-by: Ethan Smith <ethan@ethanhs.me> Co-authored-by: Brett Cannon <brett@python.org>