-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Unifying duplicate msbuild properties in CoreCLR build #34261
Conversation
jkotas
commented
Mar 29, 2020
•
edited
Loading
edited
- __TargetOS -> TargetOS
- __BuildType, BuildType -> Configuration
- __BuildArch, BuildArch -> TargetArchitecture
|
||
<!-- TODO: converge on one property for TargetOS and __TargetOS (and similar), and remove these extra lines. --> |
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.
This is the TODO that made me to do this.
@@ -223,7 +223,7 @@ if %__BuildTypeDebug%==1 set __BuildType=Debug | |||
if %__BuildTypeChecked%==1 set __BuildType=Checked |
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.
I am not renaming any variables in shell scripts to make the change manageable.
- __TargetOS -> TargetOS - __BuildType, BuildType -> Configuration - __BuildArch, BuildArch -> TargetArchitecture
cc @dotnet/runtime-infrastructure |
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.
Awesome cleanup, thanks Jan for doing this!
The test failure is #28553 |
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.
Thanks
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.
LGTM. Thanks.
This is a breaking change. Running on x64 ubuntu linux 19.1 Following https://github.com/dotnet/runtime/blob/master/docs/workflow/building/coreclr/linux-instructions.md#build-the-runtime-and-systemprivatecoreli and being a little more explicit about defaults, and using the latest clang drop: Running Results in a malformed subdirectory name: |
Thanks, @RobertHenry6bev, we just fixed here: b85563d And also, we have: #34295 which defaults it in MSBuild. If you fetch latest you shouldn't be hitting this issue anymore. 😄 |