Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add options for skipping downloading tools targeting ARM/ARM64, and for skipping ATL and DIA SDK #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mstorsjo
Copy link
Owner

This goes on top of #143.

This works, but is quite primitive. If someone wants to pick this PR up and develop it further, that would be very much appreciated! (CC @huangqinjin)

I wanted to make it possible to skip downloading architectures, and/or extra libraries that you don't need. (Although ATL seems very small so it doesn't make much of a difference in any way whether we include it or not.)

I tried to make this general enough that you'd be able to say e.g. that you only want to target e.g. x86 and x64, and thus not adding the extra e.g. *.ARM64 package selections. But if one only wants a compiler to target ARM but not x86/x64 at all, I think we'd need to manually select some more packages, at least for the latest version (when not selecting a version with --msvc-version).

As an extra, if one has skipped installing ARM/ARM64 files, we could also remove a lot of large libraries under WinSDK, but I didn't implement that yet.

@hacksysteam
Copy link
Contributor

@mstorsjo much-needed feature. Most of the time, we don't need ARM and ARM64 architecture support and this causes the huge size of the container

hacksysteam added a commit to hacksysteam/msvc-wine that referenced this pull request Sep 24, 2024
* Added colors to output messages to highlight important information.
* Switched from multiprocessing to ThreadPoolExecutor for downloads.
* Added tree like structure to --print-deps, --print-reverse-deps and --print-selection.
* Merged mstorsjo#140
* Merged mstorsjo#144
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.

2 participants