File tree Expand file tree Collapse file tree 7 files changed +398
-377
lines changed
Misc/NEWS.d/next/Tools-Demos Expand file tree Collapse file tree 7 files changed +398
-377
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,12 @@ Lib/concurrent/futures/interpreter.py @ericsnowcurrently
302
302
** /* -ios * @ freakboy3742
303
303
304
304
# WebAssembly
305
- /Tools /wasm / @ brettcannon @ freakboy3742
305
+ Tools /wasm /config.site-wasm32-emscripten @ freakboy3742
306
+ /Tools /wasm /README.md @ brettcannon @ freakboy3742
307
+ /Tools /wasm /wasi-env @ brettcannon
308
+ /Tools /wasm /wasi_build.py @ brettcannon
309
+ /Tools /wasm /emscripten @ freakboy3742
310
+ /Tools /wasm /wasi @ brettcannon
306
311
307
312
# SBOM
308
313
/Misc /externals.spdx.json @ sethmlarson
Original file line number Diff line number Diff line change 64
64
# (Make sure to keep the key in sync with the other config.cache step below.)
65
65
key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash }}-${{ hashFiles('Tools/wasm/wasi.py') }}-${{ env.pythonLocation }}
66
66
- name : " Configure build Python"
67
- run : python3 Tools/wasm/wasi.py configure-build-python -- --config-cache --with-pydebug
67
+ run : python3 Tools/wasm/wasi configure-build-python -- --config-cache --with-pydebug
68
68
- name : " Make build Python"
69
- run : python3 Tools/wasm/wasi.py make-build-python
69
+ run : python3 Tools/wasm/wasi make-build-python
70
70
- name : " Restore host config.cache"
71
71
uses : actions/cache@v4
72
72
with :
75
75
key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash }}-${{ hashFiles('Tools/wasm/wasi.py') }}-${{ env.pythonLocation }}
76
76
- name : " Configure host"
77
77
# `--with-pydebug` inferred from configure-build-python
78
- run : python3 Tools/wasm/wasi.py configure-host -- --config-cache
78
+ run : python3 Tools/wasm/wasi configure-host -- --config-cache
79
79
- name : " Make host"
80
- run : python3 Tools/wasm/wasi.py make-host
80
+ run : python3 Tools/wasm/wasi make-host
81
81
- name : " Display build info"
82
82
run : make --directory "${CROSS_BUILD_WASI}" pythoninfo
83
83
- name : " Test"
Original file line number Diff line number Diff line change
1
+ Backport file reorganization for Tools/wasm/wasi.
2
+
3
+ This should make backporting future code changes easier. It also simplifies
4
+ instructions around how to do WASI builds in the devguide.
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
set -e
3
3
4
- # NOTE: to be removed once no longer used in https://github.com/python/buildmaster-config/blob/main/master/custom/factories.py .
4
+ # NOTE: to be removed once no longer used in https://github.com/python/buildmaster-config/blob/main/master/custom/factories.py ;
5
+ # expected in Python 3.18 as 3.13 is when `wasi.py` was introduced.
5
6
6
7
# function
7
8
usage () {
You can’t perform that action at this time.
0 commit comments