mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-138489: Add missing build-details.json step for building wasm (#139302)
* fix: add missing `build-details.json` step for building wasm Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> * gh-138489: Add missing build-details.json step for building wasm Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> * Update Makefile.pre.in Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --------- Signed-off-by: Ho Kim <ho.kim@ulagbulag.io> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
c33dc154b4
commit
db53ca30d7
2 changed files with 7 additions and 1 deletions
|
|
@ -801,7 +801,7 @@ build_all: check-clean-src check-app-store-compliance $(BUILDPYTHON) platform sh
|
|||
|
||||
.PHONY: build_wasm
|
||||
build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \
|
||||
python-config checksharedmods
|
||||
python-config checksharedmods build-details.json
|
||||
|
||||
.PHONY: build_emscripten
|
||||
build_emscripten: build_wasm web_example web_example_pyrepl_jspi
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
When cross-compiling for WASI by ``build_wasm`` or ``build_emscripten``, the
|
||||
``build-details.json`` step is now included in the build process, just like
|
||||
with native builds.
|
||||
|
||||
This fixes the ``libinstall`` task which requires the ``build-details.json``
|
||||
file during the process.
|
||||
Loading…
Add table
Add a link
Reference in a new issue