-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix the issue of Mono.AotCross build errors #117971
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
Conversation
Configure the DotNetBuildMonoCrossAOT property when building Mono.AotCross Fixes dotnet#117970
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.
Pull Request Overview
This PR fixes build errors in the Mono.AotCross component by configuring the DotNetBuildMonoCrossAOT
property when building the Mono cross-compilation AOT toolchain.
- Adds the
DotNetBuildMonoCrossAOT=true
property to the Mono.AotCross build configuration - Resolves issue #117970 related to Mono cross-compilation AOT build failures
Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival |
if you just build mono.aotcross the expectation is that you set |
You are right. When using |
Remove the DotNetBuildMonoCrossAOT default value when building Mono.AotCross Check MonoAotTarget before building and prompt Fixes dotnet#117970
so is running AllSubsets your main use case? this was added basically just for restoring: #117374 I'm not sure it makes much sense to support this for building too |
@dotnet-policy-service agree |
Yes, now it will only check the target and give a prompt before building |
@steveisok Are there any issues with the current PR that are preventing it from being merged? |
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.
Looks fine to me.
@akoeplinger are you ok w/ the change? |
/ba-g unrelated test failures |
Thanks and sorry for the delay! |
This reverts commit 9373c61.
Configure the DotNetBuildMonoCrossAOT property when building Mono.AotCross
Fixes #117970