Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-103065, GH-106704, GH-105253: Provide a Tools/wasm/wasi.py script to simplify doing a WASI build #112473

Merged
merged 51 commits into from
Nov 30, 2023

Conversation

brettcannon
Copy link
Member

@brettcannon brettcannon commented Nov 27, 2023

Tools/wasm/README.md has instructions, but to do a pydebug build which caches the results from configure, you can do:

python Tools/wasm/wasi.py build -- -C --with-pydebug

or in discrete steps:

python Tools/wasm/wasi.py configure-build-python -- -C --with-pydebug
python Tools/wasm/wasi.py make-build-python
python Tools/wasm/wasi.py configure-host -- -C
python Tools/wasm/wasi.py make-host

Set to the initial commit of Python.
Want to minimize confusion for core devs.
Implicity verifies `python.wasm` also works.
If it isn't then it's usually a sign that one went to/from a pydebug build from/to a release one
@brettcannon brettcannon added build The build process and cross-build OS-wasi labels Nov 27, 2023
@brettcannon brettcannon self-assigned this Nov 27, 2023
@brettcannon brettcannon changed the title GH-103065, GH-106704: Provide a Tools/wasm/wasi.py script to simplify doing a WASI build GH-103065, GH-106704, GH-105253: Provide a Tools/wasm/wasi.py script to simplify doing a WASI build Nov 27, 2023
@brettcannon brettcannon merged commit 37589d7 into python:main Nov 30, 2023
33 checks passed
@brettcannon brettcannon deleted the wasi.py branch November 30, 2023 00:18
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…asm/wasi.py` script to simplify doing a WASI build (pythonGH-112473)
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…asm/wasi.py` script to simplify doing a WASI build (pythonGH-112473)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build OS-wasi
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant