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
302302** /* -ios * @ freakboy3742
303303
304304# 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
306311
307312# SBOM
308313/Misc /externals.spdx.json @ sethmlarson
Original file line number Diff line number Diff line change 6464 # (Make sure to keep the key in sync with the other config.cache step below.)
6565 key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash }}-${{ hashFiles('Tools/wasm/wasi.py') }}-${{ env.pythonLocation }}
6666 - 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
6868 - name : " Make build Python"
69- run : python3 Tools/wasm/wasi.py make-build-python
69+ run : python3 Tools/wasm/wasi make-build-python
7070 - name : " Restore host config.cache"
7171 uses : actions/cache@v4
7272 with :
7575 key : ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash }}-${{ hashFiles('Tools/wasm/wasi.py') }}-${{ env.pythonLocation }}
7676 - name : " Configure host"
7777 # `--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
7979 - name : " Make host"
80- run : python3 Tools/wasm/wasi.py make-host
80+ run : python3 Tools/wasm/wasi make-host
8181 - name : " Display build info"
8282 run : make --directory "${CROSS_BUILD_WASI}" pythoninfo
8383 - 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 11#! /bin/sh
22set -e
33
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.
56
67# function
78usage () {
You can’t perform that action at this time.
0 commit comments