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
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
a4e6f9b
Set up minimal arg parsing
brettcannon Sep 27, 2023
f1be30a
Get the WASI build working
brettcannon Sep 28, 2023
7031bce
Create a `python.sh` command
brettcannon Oct 3, 2023
3db2388
Switch to `os.process_cpu_count()`
brettcannon Oct 3, 2023
238eed1
Tweak some formatting
brettcannon Oct 4, 2023
01319de
Add a `--skip-build-python` flag
brettcannon Oct 4, 2023
0120446
Add a `--quiet` flag
brettcannon Oct 4, 2023
4642afe
Add `SOURCE_DATE_EPOCH`
brettcannon Oct 5, 2023
705f746
Add `--debug`
brettcannon Oct 5, 2023
134e6b4
Fix a bug related to passing a `pathlib.Path` to `section()`
brettcannon Oct 6, 2023
7851a4d
Merge branch 'main' of https://github.com/python/cpython into wasi.py
brettcannon Oct 6, 2023
95029ee
Rename `--debug` to `--with-pydebug`
brettcannon Oct 6, 2023
8717974
Get everything working with a pydebug build
brettcannon Oct 6, 2023
d66fd8b
Support macOS
brettcannon Oct 17, 2023
b21d59a
Add a verification check for the `python.sh` file
brettcannon Oct 18, 2023
a14348e
Allow for `HOST_RUNNER` to be specified as a CLI option
brettcannon Oct 27, 2023
57f56fa
Turn on thread support for the default host runner
brettcannon Nov 3, 2023
94851f6
Add threaded build support
brettcannon Nov 3, 2023
0eb8435
Merge branch 'main' into wasi.py
brettcannon Nov 7, 2023
7060516
Check if the expected sysconfig directory was created
brettcannon Nov 7, 2023
347d5c0
Do a better job of deleting build directories when run with `--clean`
brettcannon Nov 7, 2023
0aa5599
Make the check for the sysconfig build directory use an absolute path
brettcannon Nov 8, 2023
97ff44a
Merge branch 'main' of https://github.com/python/cpython into wasi.py
brettcannon Nov 16, 2023
082e976
Merge branch 'main' of https://github.com/python/cpython into wasi.py
brettcannon Nov 16, 2023
cfefcf0
Merge branch 'main' of https://github.com/python/cpython into wasi.py
brettcannon Nov 16, 2023
b1268ce
Switch to `--platform` from `--skip-build-python`
brettcannon Nov 16, 2023
31cc023
Merge branch 'main' of https://github.com/python/cpython into wasi.py
brettcannon Nov 16, 2023
c3539c1
Add the `configure-build-python` and `make-build-python` subcommands
brettcannon Nov 22, 2023
2a6c541
Create a decorator to handle some boilerplate
brettcannon Nov 22, 2023
c7dcc95
Don't accidentally delete the checkout
brettcannon Nov 22, 2023
19cbc6e
Add back in the `section()` call to `prep_checkout()`
brettcannon Nov 22, 2023
12a7886
Make automatic cleaning an opt-in experience
brettcannon Nov 22, 2023
57b1ea0
Merge remote-tracking branch 'upstream/main' into wasi.py
brettcannon Nov 22, 2023
eb90cbc
Merge branch 'main' of https://github.com/python/cpython into wasi.py
brettcannon Nov 22, 2023
0f7494c
Merge branch 'main' of https://github.com/python/cpython into wasi.py
brettcannon Nov 22, 2023
62b2da8
Clobber `cross-build`
brettcannon Nov 22, 2023
7893385
Add `configure-host`
brettcannon Nov 23, 2023
9994841
Re-implement `build` in terms of all the other subcommands
brettcannon Nov 23, 2023
d975c47
Touch up formatting
brettcannon Nov 24, 2023
27702ca
Update README
brettcannon Nov 24, 2023
c8cbd7a
Set `SOURCE_DATE_EPOCH` based on `git log -1 --pretty=%ct`
brettcannon Nov 27, 2023
e6d947a
Flesh out the README
brettcannon Nov 27, 2023
e160baf
Some more README flourishes
brettcannon Nov 27, 2023
37619db
Add a news entry
brettcannon Nov 27, 2023
3505077
Merge branch 'main' into wasi.py
brettcannon Nov 27, 2023
5b01cbe
Skip mypy checks
brettcannon Nov 27, 2023
ad0a83c
Merge branch 'wasi.py' of https://github.com/brettcannon/cpython into…
brettcannon Nov 27, 2023
71946e7
Fix an over-indentation
brettcannon Nov 27, 2023
bd488b2
Only set `SOURCE_DATE_EPOCH` if it has not already been set
brettcannon Nov 27, 2023
547ba0f
Simplify some code
brettcannon Nov 28, 2023
dea525e
Bump the version of wasmtime installed into the dev container
brettcannon Nov 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into wasi.py
  • Loading branch information
brettcannon committed Nov 7, 2023
commit 0eb843509d4fccbcbf54bf556a2c724b603acb2c

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.