[aot] Build cross compilers targeting x64/x86 hosted on arm64 (#89027)
This PR allows an `osx-arm64` or `osx-x64` machine to produce a `mono-aot-cross` compiler that will run on the following host and create AOT images for the following targets: | Host | Target | Test App runs | |--------|--------|--------| | osx-arm64 | iossimulator-x64 |✅ | | osx-arm64 | android-x64 |✅ | | osx-arm64 | android-x86 |✅ - depends on a hack for https://github.com/dotnet/runtime/issues/89039 | Additionally a `linux-x64` or `linux-arm64` machine can build a `mono-aot-cross` compiler for these host/target pairs: | Host | Target | Test App runs | |--------|--------|--------| | linux-arm64 | android-x64 |❓ | | linux-arm64 | linux_musl-x64 |❓ | | linux-arm64 | android-x86 |❓ | Related to https://github.com/dotnet/runtime/issues/82495 * [aot][ios] Build cross-compilers targeting x64 hosted on arm64 * Use MONO_CROSS_COMPILE instead of host checks * [android][x86] Build mono-aot-cross hosted on osx-arm64 targeting android-x86 * fix build of mono-aot-cross hosted on linux-arm64 targeting android-x64 * runtime pipeline changes to build arm64 artifacts on x64 hardware * Fix linux_musl-arm64 builds --------- Co-authored-by: NJo Shields <directhex@apebox.org>
Showing
想要评论请 注册 或 登录