GitHub images install Visual Studio build tools using these components:
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.Tools.ARM64
These components behave like floating refs that point to the latest versions of the build tools, which at the time of writing is 14.40.33807. Over time, the build tools have been updated to require Clang 17 which breaks the 5.10 build of our private toolchain, which triggers a nested CMake build that uses Clang 16. We can't update Clang on this branch because of conflicts. To fix this issue we need to install and use these components instead:
GitHub images install Visual Studio build tools using these components:
These components behave like floating refs that point to the latest versions of the build tools, which at the time of writing is
14.40.33807
. Over time, the build tools have been updated to require Clang 17 which breaks the 5.10 build of our private toolchain, which triggers a nested CMake build that uses Clang 16. We can't update Clang on this branch because of conflicts. To fix this issue we need to install and use these components instead:Both of them refer to version
14.39.33135
of the build tools which were used by the last known good build: https://github.com/thebrowsercompany/swift-build/actions/runs/9409661566/job/25920337589This installation adds ~5 minutes to the 5.10 build.