-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
System.Native: eng/native/tryrun.cmake host/target confusion #89039
Comments
dotnet-issue-labeler
bot
added
the
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
label
Jul 17, 2023
Note that but after that it's an |
cc @directhex |
lambdageek
added
area-Build-mono
and removed
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
labels
Jul 17, 2023
lambdageek
added a commit
that referenced
this issue
Jul 18, 2023
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 #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 #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: Jo Shields <directhex@apebox.org>
This was referenced Jul 18, 2023
@akoeplinger what work is left here? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When doing an android-x86 build on an osx-arm64 machine, during
./build.sh --os android -arch x86
, we end up here during the System.Native buildruntime/eng/native/tryrun.cmake
Line 90 in f83580d
This is the
else
case forruntime/eng/native/tryrun.cmake
Lines 50 to 51 in f83580d
This seems wrong -
DARWIN
is the host machine (osx-arm64),arm64|x64
is checking the target architectureThe text was updated successfully, but these errors were encountered: