https://github.com/python/cpython/commit/6a8436138a247d7c6738dcf909faf356a03f2274 commit: 6a8436138a247d7c6738dcf909faf356a03f2274 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: freakboy3742 <[email protected]> date: 2026-03-19T22:27:30Z summary:
[3.14] gh-145177: Add make-dependencies command to emscripten build script (GH-146158) (#146184) Adds a standalone target for building all dependencies so that the buildbot script is independent of a specific dependency list. (cherry picked from commit db11623694d1231323ee3a9339f7f7504a839478) Co-authored-by: Hood Chatham <[email protected]> files: M Platforms/emscripten/__main__.py diff --git a/Platforms/emscripten/__main__.py b/Platforms/emscripten/__main__.py index a7c52c2d59f10d..98e5731be96a53 100644 --- a/Platforms/emscripten/__main__.py +++ b/Platforms/emscripten/__main__.py @@ -413,6 +413,11 @@ def make_mpdec(context, working_dir): write_library_config(prefix, "mpdec", mpdec_config, context.quiet) +def make_dependencies(context): + make_emscripten_libffi(context) + make_mpdec(context) + + def calculate_node_path(): node_version = os.environ.get("PYTHON_NODE_VERSION", None) if node_version is None: @@ -665,6 +670,11 @@ def main(): help="Clone libffi repo, configure and build it for emscripten", ) + make_dependencies_cmd = subcommands.add_parser( + "make-dependencies", + help="Build all static library dependencies", + ) + make_build = subcommands.add_parser( "make-build-python", help="Run `make` for the build Python" ) @@ -714,6 +724,7 @@ def main(): configure_build, make_libffi_cmd, make_mpdec_cmd, + make_dependencies_cmd, make_build, configure_host, make_host, @@ -781,6 +792,7 @@ def main(): "install-emscripten": install_emscripten, "make-libffi": make_emscripten_libffi, "make-mpdec": make_mpdec, + "make-dependencies": make_dependencies, "configure-build-python": configure_build_python, "make-build-python": make_build_python, "configure-host": configure_emscripten_python, _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
