Skip to content

Conversation

@jtschuster
Copy link
Member

@jtschuster jtschuster commented Nov 29, 2023

To make runtime compatible with cross-arch compilation, we should add --cross to the inner source-build build when building a cross-arch VMR vertical and avoid publishing anything ReadyToRun or AOT compiled. The compilers don't have a valid runtime pack for the host during the crossbuild at this point, so trying to run them fails.

Part of dotnet/source-build#3698

Redo of #95088, but compares architecture instead of RID for passing --cross, and checks for DotnetBuildVertical instead of DotnetBuildFromSource to disable crossgen and ilc.

@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Nov 29, 2023
@ghost ghost assigned jtschuster Nov 29, 2023
@jtschuster
Copy link
Member Author

/azp run runtime-community

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jtschuster jtschuster merged commit 5a0495c into dotnet:main Dec 1, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants