Skip to content

Update tot version to be based on binary availability on all platforms - #1763

Open
sbc100 wants to merge 1 commit into
mainfrom
tot_all_platforms
Open

Update tot version to be based on binary availability on all platforms#1763
sbc100 wants to merge 1 commit into
mainfrom
tot_all_platforms

Conversation

@sbc100

@sbc100 sbc100 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

When resolving tip-of-tree (tot) release in get_emscripten_releases_tot, check that prebuilt binary archives exist for all standard TOT platforms (linux x86-64, mac x86-64, mac arm64, win x86-64) before selecting a revision.

Previously, emsdk only checked binary availability for the host OS and architecture running emsdk. When emsdk-update CI ran on Linux, it could select a TOT revision before macOS or Windows binaries finished uploading.

This has been causing issues in emscripten where the update-emsdk job (which updates test/emsdk_version.txt) was choosing a version that was available on linux, but not yet on all other platforms, causing the CI jobs to fail on some platforms (e.g. windows).

When resolving tip-of-tree (tot) release in get_emscripten_releases_tot,
check that prebuilt binary archives exist for all standard TOT platforms
(linux x86-64, mac x86-64, mac arm64, win x86-64) before selecting a
revision.

Previously, emsdk only checked binary availability for the host OS and
architecture running emsdk. When emsdk-update CI ran on Linux, it could
select a TOT revision before macOS or Windows binaries finished uploading.

This has been causing issues in emscripten where the update-emsdk job
(which updates test/emsdk_version.txt) was choosing a version that was
available on linux, but not yet on all other platforms, causing the CI
jobs to fail on some platforms (e.g. windows).
@sbc100
sbc100 requested review from dschuff and kripken August 3, 2026 16:37
Comment thread emsdk.py
make_url('tar.xz' if not WINDOWS else 'zip')
# that has uploaded binaries for all TOT platforms.
all_platforms = [
('linux', '', 'tar.xz'),

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I would include the linux-arm64 build here but currently we are only uploading those builds for LTO releases.

See https://chromium.googlesource.com/emscripten-releases/+/refs/heads/main/src/build.py#1132

Should we lift this restriction? @dschuff ?

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.

1 participant