-
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
Consolidate Android cross-build setup for mono and coreclr #56622
Comments
Thanks for opening this issue. More discussions could be found from this PR #55641 |
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue DetailsThe cross-build in During the native build, it relies on setup done by the scripts under Android, however, is at the odds. For coreclr, it uses setup from
does not hold for "Android on mono", due to which it requires us to add a few exceptions in the build infra and need us to remember about this exceptional case. Another down side is that the coreclr Android setup gets stale every now and then because no CI leg is exercising it. I am opening this issue to discuss what can be done to consolidate Android build on mono and coreclr without losing any flexibility and still adapting the
|
Tagging subscribers to 'arch-android': @steveisok, @akoeplinger Issue DetailsThe cross-build in During the native build, it relies on setup done by the scripts under Android, however, is at the odds. For coreclr, it uses setup from
does not hold for "Android on mono", due to which it requires us to add a few exceptions in the build infra and need us to remember about this exceptional case. Another down side is that the coreclr Android setup gets stale every now and then because no CI leg is exercising it. I am opening this issue to discuss what can be done to consolidate Android build on mono and coreclr without losing any flexibility and still adapting the
|
Build and runtime pack for linux-bionic (Android without the Java part). I tried not to regress the existing CoreCLR Android build that is based on a crossrootfs (dotnet#56622) - the if's basically deal with that. Note that it's likely broken anyway (dotnet#66562).
The cross-build in
:/eng/
requires user to pass-cross
argument to:/build.sh
and setROOTFS_DIR
environment variable.During the native build, it relies on setup done by the scripts under
:/eng/common/cross
. We have multiple examples in our platform matrix ({os}-{arch}
) which make use of this infrastructure.Android, however, is at the odds. For coreclr, it uses setup from
:/eng/common/cross/build-android-rootfs.sh
and:/eng/common/cross/toolchain.cmake
, but for mono it uses a different setup. The impact is that:does not hold for "Android on mono", due to which it requires us to add a few exceptions in the build infra and need us to remember about this exceptional case. Another down side is that the coreclr Android setup gets stale every now and then because no CI leg is exercising it.
I am opening this issue to discuss what can be done to consolidate Android build on mono and coreclr without losing any flexibility and still adapt to
-cross
/ CrossBuild infrastructure.The text was updated successfully, but these errors were encountered: