-
Notifications
You must be signed in to change notification settings - Fork 450
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
Add missing environment variables to MSVC_ENVIRONMENT_VARIABLE #2089
Conversation
…ABLES so they get forwarded correctly. Fixes CMake and Clang detecting wrong MSVC toolkit version, paths etc. Fixes microsoft#1053
… future users to know the context of it's removal
src/kit.ts
Outdated
@@ -603,13 +603,19 @@ const MSVC_ENVIRONMENT_VARIABLES = [ | |||
'LIBPATH', | |||
'NETFXSDKDir', | |||
'Path', | |||
//'Platform', - disabled at the request of @bobbrow as this causes some of MS internal projects to fail to build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't normally annotate our code with direct references to team members. I think it is sufficient to say that it is disabled because it is currently unnecessary and causes some projects to fail to build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed as requested.
… future users to know the context of it's removal
Not sure why the tests seem to have failed ( |
'C++ extension not installed' is not an error. I saw some flakiness on one of the test platforms recently. We need to investigate that. |
Yeah, seems to have passed now! |
This change addresses item #1053
This changes visible behavior
The following changes are proposed:
The purpose of this change
This also fixes Clang's ability to find the MSVC toolkit correctly as noted in my comment on the issue