]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-138489: Add missing `build-details.json` step for building wasm (GH-139302...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Oct 2025 18:35:38 +0000 (20:35 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 18:35:38 +0000 (20:35 +0200)
(cherry picked from commit db53ca30d761abba525bc8e47b16920b1fc43a83)

Signed-off-by: Ho Kim <ho.kim@ulagbulag.io>
Co-authored-by: Ho Kim <ho.kim@ulagbulag.io>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Makefile.pre.in
Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst [new file with mode: 0644]

index ca536d32a611670cdc0c3bc42f9a27fc8f16026d..34a270ab31167a1bfd66ed78c367d572bf05595c 100644 (file)
@@ -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
diff --git a/Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst b/Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst
new file mode 100644 (file)
index 0000000..b11098a
--- /dev/null
@@ -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.