]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-145177: Support multiple Emscripten versions for Emscripten buildbot (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 8 Mar 2026 22:14:15 +0000 (23:14 +0100)
committerGitHub <noreply@github.com>
Sun, 8 Mar 2026 22:14:15 +0000 (06:14 +0800)
commitae6c211e98f8655598d666e5758a0a1a5f452837
tree782a162ae107e13384b7d44cadc6bc1e6dc83ea9
parent0e423f1c2612f43a18aed78e6439c57a9ec70b43
[3.14] gh-145177: Support multiple Emscripten versions for Emscripten buildbot (GH-145180) (#145582)

Adds an `--emsdk-cache` argument to the Emscripten build script and an
emscripten_version.txt file. If the `--emsdk-cache` argument is passed, the build script
will look in `emscripten_version.txt` to get the expected emsdk version is installed in
a folder called e.g., 4.0.12 in the directory indicated by the `--emsdk-cache` argument,
and run the build with that Emscripten tooling activated.
(cherry picked from commit c3fb0d9d96902774c08b199dda0479a8d31398a5)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Tools/wasm/emscripten/__main__.py
Tools/wasm/emscripten/emscripten_version.txt [new file with mode: 0644]