Fix the issue of Mono.AotCross build errors#117971
Conversation
Configure the DotNetBuildMonoCrossAOT property when building Mono.AotCross Fixes dotnet#117970
There was a problem hiding this comment.
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=trueproperty 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? |
|
@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