-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[release/6.0] source-build: support building aspnetcore using non-portable runtime packages (backport #43937) #44752
[release/6.0] source-build: support building aspnetcore using non-portable runtime packages (backport #43937) #44752
Conversation
…packages (backport dotnet#43937)
Thanks for your PR, @ayakael. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
Hi @ayakael. If this is not a tell-mode PR, please make sure to follow the instructions laid out in the servicing process document. |
Please describe any changes between that PR and this. Everything feels familiar but I may be missing something. Separately, have you tested this branch with |
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
I essentially applied the patch as it was in the backport, manually cleaning up whatever didn't apply cleanly due to code not existing yet. In this case, the following was cut due to that code not existing yet: diff --git a/src/aspnetcore/eng/tools/GenerateFiles/Directory.Build.targets.in b/src/aspnetcore/eng/tools/GenerateFiles/Directory.Build.targets.in
index 0100971de43d..e97a6485d5b9 100644
--- a/src/aspnetcore/eng/tools/GenerateFiles/Directory.Build.targets.in
+++ b/src/aspnetcore/eng/tools/GenerateFiles/Directory.Build.targets.in
@@ -56,22 +56,22 @@
<KnownAppHostPack Update="Microsoft.NETCore.App">
<AppHostPackVersion
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</AppHostPackVersion>
- <AppHostRuntimeIdentifiers Condition=" '$(PortableBuild)' != 'true' ">$(TargetRuntimeIdentifier)</AppHostRuntimeIdentifiers>
+ <AppHostRuntimeIdentifiers Condition=" '$(PortableBuild)' == 'false' ">$(TargetRuntimeIdentifier)</AppHostRuntimeIdentifiers>
</KnownAppHostPack>
<KnownRuntimePack Update="Microsoft.NETCore.App">
<LatestRuntimeFrameworkVersion
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</LatestRuntimeFrameworkVersion>
- <AppHostRuntimeIdentifiers Condition=" '$(PortableBuild)' != 'true' ">$(TargetRuntimeIdentifier)</AppHostRuntimeIdentifiers>
+ <AppHostRuntimeIdentifiers Condition=" '$(PortableBuild)' == 'false' ">$(TargetRuntimeIdentifier)</AppHostRuntimeIdentifiers>
</KnownRuntimePack> |
As far as testing is concerned, all checks passes here with these parameters set: dotnet/installer#14816. |
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.
Sounds good. We'll merge when the branches open next.
source-build: support building aspnetcore using non-portable runtime packages (backport #43937)
Description
Backport of #43937
Per @tmds
Customer impact
Reduces build time with source-build significantly due to not needing the building of portable runtime.
Regression?
[If yes, specify the version the behavior has regressed from]
Risk
Only activates when
PortableBuild=false
. As it defaults totrue
, this change should not affect any other customers than distro maintainers.Verification
Packaging changes reviewed?