Skip to content

[main] Update dependencies from dotnet/cpython, dotnet/emscripten - #1620

Merged
akoeplinger merged 2 commits into
mainfrom
darc-main-e7d7c187-0be5-4402-baf3-219982f27a52
Mar 3, 2026
Merged

akoeplinger merged 2 commits into
mainfrom
darc-main-e7d7c187-0be5-4402-baf3-219982f27a52

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Mar 3, 2026 •

Copy link
Copy Markdown

This pull request updates the following dependencies

From https://github.com/dotnet/emscripten

From https://github.com/dotnet/cpython

  • Dependency Updates:
    • From 11.0.0-alpha.1.26122.1 to 11.0.0-alpha.1.26151.1
      • runtime.osx-arm64.Microsoft.NETCore.Runtime.Wasm.Python.Transport
      • runtime.osx-x64.Microsoft.NETCore.Runtime.Wasm.Python.Transport
      • runtime.win-arm64.Microsoft.NETCore.Runtime.Wasm.Python.Transport
      • runtime.win-x64.Microsoft.NETCore.Runtime.Wasm.Python.Transport

dotnet-maestro Bot added 2 commits March 3, 2026 02:01
…0260301.1

On relative base path root
Microsoft.NETCore.Runtime.Wasm.Emscripten.Transport From Version 11.0.0-alpha.1.26125.1 -> To Version 11.0.0-alpha.1.26151.1
…0301.1

On relative base path root
runtime.osx-arm64.Microsoft.NETCore.Runtime.Wasm.Python.Transport , runtime.osx-x64.Microsoft.NETCore.Runtime.Wasm.Python.Transport , runtime.win-arm64.Microsoft.NETCore.Runtime.Wasm.Python.Transport , runtime.win-x64.Microsoft.NETCore.Runtime.Wasm.Python.Transport From Version 11.0.0-alpha.1.26122.1 -> To Version 11.0.0-alpha.1.26151.1
@dotnet-maestro dotnet-maestro Bot changed the title [main] Update dependencies from dotnet/emscripten [main] Update dependencies from dotnet/cpython, dotnet/emscripten Mar 3, 2026
@akoeplinger
akoeplinger enabled auto-merge (squash) March 3, 2026 11:43
@akoeplinger
akoeplinger merged commit 2ac1a6e into main Mar 3, 2026
15 checks passed
@dotnet-maestro
dotnet-maestro Bot deleted the darc-main-e7d7c187-0be5-4402-baf3-219982f27a52 branch March 3, 2026 11:44
akoeplinger pushed a commit that referenced this pull request Jul 9, 2026
This adds support for using a prebuilt cache as an archive instead of
building it from scratch every time.

This solves multiple problems:

- build speed on CI machines that have cold cache
- instead of building the secondary cache every time, it can simply
download it
- effective support for multiple caches (#1581)
- emscripten supports having multiple caches on its own, but it builds
`thinlto`, `lto`, and other cache combinations on demand. This doesn't
work in the Bazel world, where the cache needs to be frozen.
- the current solution allowed building a secondary cache, but only with
a single configuration
- this allows the use of any archive that contain any emscripten cache
- this PR does not handle how that cache is built - you can build it
with embuilder, zip it and serve it from your server or whatever you
want
- secondary cache hermeticity problem
- the current solution for secondary cache generated `emscripten_config`
file that contained full path to the cache.
- this was not hermetic as this path could be different on different
machines
- this PR calculates the cache path by using the same trick with
environment variables, ensuring that `emscripten_config` file is always
same, regardless of the machine
- additionally, it ensures that the cache is provided as an input to the
toolchain so that Bazel can correctly add it to the sandbox environment

After applying this patch to our internal codebase, the regular builds
of WASM code went down from 12-15 minutes to cca 30 seconds, regardless
on which machine it runs, as long as remote cache is warm.

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 11, 2026
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