Repository navigation
Download a smaller Windows compiler for mpy-cross - #11665
Open
mikeysklar wants to merge 1 commit into
Open
mikeysklar wants to merge 1 commit into
mikeysklar wants to merge 1 commit into
Conversation
Makefile.static-mingw only uses x86_64-w64-mingw32-gcc. The mingw-w64 metapackage pulls in 25 packages (277 MB): both i686 and x86-64, both thread models, and g++. This package is about 60 MB and registers the same win32 compiler the job already ended up using. On days the Azure Ubuntu mirror is slow, the old install took 35-100 min. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Install only the 64-bit Windows compiler that mpy-cross uses.
Why
The full set is 277 MB, and a slow Ubuntu mirror made this step take 35 to 100 minutes.
mingw-w64, 25 packages, 277 MBgcc-mingw-w64-x86-64-win32, 6 packages, 65.2 MBThe old package also installed in 0.5 min once today, so the time depends on the mirror. The smaller download helps on slow days.
Written with Claude Code. I checked that
Makefile.static-mingwonly usesx86_64-w64-mingw32-gcc.🤖 Generated with Claude Code