-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Build projects that consume tool shims in pass 2 #61249
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
Build projects that consume tool shims in pass 2 #61249
Conversation
| " | ||
| Condition=" '$(TargetOsName)' == 'win' and '$(DotNetBuild)' == 'true' and ('$(DotNetBuildPass)' == '' or '$(DotNetBuildPass)' == '1') " /> | ||
|
|
||
| <!-- These projects requires inputs from x64, x86, and arm64 on Windows - therefore in the VMR, we build them in pass 2 --> |
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.
Nit, but they only require x64 & x86 assets
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.
Will fix - thanks.
|
Wait. Why are we going this direction (BP=2) when we were discussing in the issue that we should just not use the live host for those projects? |
Wouldn't we have hosts from two different builds in that case? One live, one restored from, i.e. nuget.org? I'm fine with either approach, I thought BP=2 made it cleaner. |
I believe the thinking was that it doesn't matter all that oftne, and that this already is the case for any tool that doesn't take flow from runtime. They're always shipping n-1. |
Makes sense. I'll rework this. Will open a new PR. |
|
Closing. Will open a new PR with the other approach, proposed in the issue - dotnet/source-build#4944 |
Contributes to dotnet/source-build#4944
We need to pack tool shims for all supported platforms which requires these two projects to be built in VMR's build-pass 2.
Verification build (internal): https://dev.azure.com/dnceng/internal/_build/results?buildId=2674425&view=results