-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Enable unified build #54084
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
Enable unified build #54084
Conversation
@wtgodbe First draft of support for UB in aspnetcore. The goals here are that aspentcore builds a vertical (generally Target Arch+OS) in the VMR. Source build infra is used, but switches aren't. There are definitely some rough edges here and further work is required. I've annotated the PR. |
<ExcludeFromSourceBuild | ||
Condition="'$(ExcludeFromSourceBuild)' == '' and | ||
'$(DotNetBuildFromSource)' == 'true' and | ||
<ExcludeFromSourceOnlyBuild |
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.
Much of this is just updates to the controls names to use the new UB names and meanings.
eng/build.ps1
Outdated
@@ -12,6 +12,9 @@ build projects, run tests, and generate code. | |||
.PARAMETER CI | |||
Sets up CI specific settings and variables. | |||
|
|||
.PARAMETER PrepareMachine | |||
Prepare machine for a CI run, and clean up afterwards. |
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.
These are the same changes from #54081
eng/configure-toolset.sh
Outdated
if [ "${DotNetBuildFromSource:-false}" = false ]; then | ||
use_installed_dotnet_cli="false" | ||
fi | ||
use_installed_dotnet_cli="false" |
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.
My hunch is that this is no longer required.
Covers dotnet/source-build#4022 and #43637 with caveats. |
Testing this in a CI build now |
I think this is ready to go. May need additional tweaks but this should allow us to enable aspnet |
Ready to go |
eng/build.ps1
Outdated
@@ -199,6 +199,8 @@ param( | |||
Set-StrictMode -Version 2 | |||
$ErrorActionPreference = 'Stop' | |||
|
|||
echo "Building All: $All" |
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.
Was this just for debugging?
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.
Oh yes, let me revert
No description provided.