Properly support MSVC 14.40 toolset for getting the universal CRT files#16480
Merged
Conversation
See test results for failed build of commit 0f2ba7c6c7 |
See test results for failed build of commit 403bab36ad |
See test results for failed build of commit e6729cfdab |
See test results for failed build of commit 01e17c530c |
Collaborator
Author
|
This is ready for review. I'm tempted to leave out a changelog entry, since it's only a cosmetic build system change. |
seanbudd
approved these changes
May 6, 2024
Collaborator
|
@LeonarddeR wrote:
I'm tempted to leave out a changelog entry, since it's only a cosmetic build system change.
Those of us who work on the build system, or use the instructions for running our own Appveyor builds, would appreciate a changelog entry.
|
Collaborator
Author
|
In that case, I'm happy to add one as soon as the changelog for 2024.3 has been initiated. |
Member
|
That should be ready now, thanks for your patience |
seanbudd
approved these changes
May 7, 2024
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.
Link to issue number:
None
Summary of the issue:
Microsoft is about to introduce Visual Studio 2022 version 17.10 in the near future. They decided to change the minor toolset version number, so we're going from MSVC 14.39 to 14.40.
See this blog post for details.
Note that they'll stick with version 143 in the crt version string, which is very weird.
Description of user facing changes
Building NVDA on visual studio 2022 version 17.10 (to be released) will work correctly.
Description of development approach
Rather than expecting all toolset directories to start with 14.3, we expect them to start with the major version part only (i.e. 14).
Testing strategy:
In the scons directory:
tool\MSCommon\vc.py, change line 680 by adding the-prereleaseparameter:vswhere_cmd = [vswhere_path] + vswhere_version_args + ["-prerelease", "-property", "installationPath"]Known issues with pull request:
None known
Code Review Checklist: