swiftlang / swift-org-website

Swift.org website
https://swift.org
Other
477 stars 186 forks source link

Windows: add ARM64 MSVC Tools to VS installation #843

Closed compnerd closed 2 weeks ago

compnerd commented 3 weeks ago

Instruct users to install the MSVC ARM64 tools when installing Visual Studio. This should ensure that cross-compilation is possible (and native compilation when on ARM64).

Fixes: #839

cthielen commented 3 weeks ago

If this component is optional and only needed for cross-compilation, I recommend including that detail in the instructions to avoid asking folks to download extra components.

timsneath commented 3 weeks ago

I hear what you're saying, @cthielen. I wonder if we might be OK here though -- since this is just a copy and paste command? The trade-off is that if we over-explain, we add friction to the process...

compnerd commented 2 weeks ago

@cthielen its worse than that - its needed for cross-compilation, unless you are on ARM64 (or on a Mx series Apple hardware with virtualization), where it is needed for compilation and then you need the x64 toolset for cross-compilation. I think it is best to avoid the explanation as we need to then explain cross-compilation and how to determine the correct host.

compnerd commented 2 weeks ago

@swift-ci please test

timsneath commented 2 weeks ago

@swift-ci please test