Skip to content

Improvements to the Emscripten buildbot#687

Merged
vstinner merged 3 commits intopython:mainfrom
hoodmane:emscripten-buildbot-improvements
Mar 20, 2026
Merged

Improvements to the Emscripten buildbot#687
vstinner merged 3 commits intopython:mainfrom
hoodmane:emscripten-buildbot-improvements

Conversation

@hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Mar 19, 2026

  • Use the build script from its new Platform/emscripten/__main__.py location
  • Use python3 Platform/emscripten run to avoid hard coding build output path
  • Use new EMSDK_CACHE environment variable to allow build script to manage
    Emscripten installations
  • Build libmpdec
  • Cache libffi and libmpdec
  • Allow build script to manage node installations

python/cpython#146156 has to land first

* Use the build script from its new `Platform/emscripten/__main__.py` location
* Use `python3 Platform/emscripten run` to avoid hard coding build output path
* Use new `EMSDK_CACHE` environment variable to allow build script to manage
  Emscripten installations
* Build libmpdec
* Cache libffi and libmpdec
* Allow build script to manage node installations

python/cpython#146156 has to land first
@hoodmane hoodmane force-pushed the emscripten-buildbot-improvements branch from 96780ff to d8ed65b Compare March 19, 2026 08:53
@hoodmane hoodmane requested a review from freakboy3742 March 19, 2026 08:58
@vstinner
Copy link
Member

python/cpython#146156 has to land first

It landed, but its 3.14 backport didn't land yet: python/cpython#146159

@hoodmane
Copy link
Contributor Author

I guess we'll also want to merge and backport python/cpython#146158 and python/cpython#146160 first so we can move more configuration from here into the cpython repo.

Copy link
Contributor

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One typo; but otherwise this looks good to me. All the upstream PRs have landed, including 3.14 backports; and I've manually tested the commands on the buildbot.

@vstinner vstinner merged commit f82a93f into python:main Mar 20, 2026
1 check passed
@hoodmane hoodmane deleted the emscripten-buildbot-improvements branch March 20, 2026 09:48
@vstinner
Copy link
Member

All the upstream PRs have landed, including 3.14 backports

Ok. I merged the PR (the new config will be deployed in a few minutes). Let's see how it goes :-)

@hoodmane
Copy link
Contributor Author

Thanks @vstinner!

@hoodmane
Copy link
Contributor Author

Well it is not quite right:
#688

@hoodmane
Copy link
Contributor Author

Looks working now:
https://buildbot.python.org/all/#/builders/1809/builds/108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants