Skip to content

Enable linux-bionic-arm NativeAOT runtime pack#128436

Draft
simonrozsival wants to merge 2 commits into
dotnet:mainfrom
simonrozsival:dev/simonrozsival/nativeaot-android-arm-pack
Draft

Enable linux-bionic-arm NativeAOT runtime pack#128436
simonrozsival wants to merge 2 commits into
dotnet:mainfrom
simonrozsival:dev/simonrozsival/nativeaot-android-arm-pack

Conversation

@simonrozsival
Copy link
Copy Markdown
Member

Note

This PR description was generated with GitHub Copilot.

Fixes #125712
Related to #125440

Summary

This enables the NativeAOT runtime pack for Android arm32, represented in runtime as linux-bionic-arm:

  • add linux-bionic-arm to the NativeAOT known runtime pack RID list
  • add a runtime-extra-platforms-linuxbionic job that builds the Microsoft.NETCore.App.Runtime.NativeAOT.linux-bionic-arm pack
  • add android_arm to the Android NativeAOT libraries test job
  • update the Android Bionic NativeAOT docs with the new RID and publish command

Validation

  • Built the linux-bionic-arm NativeAOT runtime pack locally with:

    ./build.sh -os linux-bionic -arch arm -s clr.nativeaotruntime+clr.nativeaotlibs+libs+packs -c Release /p:DotNetBuildAllRuntimePacks=true /p:SuppressTrimAnalysisWarnings=true

    This produced Microsoft.NETCore.App.Runtime.NativeAOT.linux-bionic-arm.11.0.0-dev.nupkg and the symbols package.

  • git diff --check upstream/main...HEAD

simonrozsival and others added 2 commits May 21, 2026 10:50
Advertise and build the linux-bionic-arm NativeAOT runtime pack, and update the Android Bionic NativeAOT documentation to include the new RID.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add android_arm to the Android NativeAOT libraries test job so arm32 NativeAOT test coverage mirrors android_arm64.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
See info in area-owners.md if you want to be subscribed.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends NativeAOT support for Android arm32 by enabling the linux-bionic-arm NativeAOT runtime pack RID in the build/packaging infrastructure, wiring it into extra-platforms CI, and updating the NativeAOT Android Bionic documentation accordingly.

Changes:

  • Add linux-bionic-arm to the NativeAOT KnownRuntimePack RID list (eng/targetingpacks.targets).
  • Add a linux-bionic extra-platforms job to build the arm32 NativeAOT runtime pack (runtime-extra-platforms-linuxbionic.yml).
  • Expand the Android extra-platforms NativeAOT job matrix to include android_arm and update docs/publish instructions (runtime-extra-platforms-android.yml, android-bionic.md).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/coreclr/nativeaot/docs/android-bionic.md Documents the new linux-bionic-arm publishing flow and generalizes the publish output path.
eng/targetingpacks.targets Adds linux-bionic-arm to the NativeAOT known runtime pack RID list so local targeting/runtime pack consumption recognizes it.
eng/pipelines/extra-platforms/runtime-extra-platforms-linuxbionic.yml Introduces a linux-bionic arm32 job to build the NativeAOT runtime pack.
eng/pipelines/extra-platforms/runtime-extra-platforms-android.yml Enables android_arm in the Android NativeAOT libraries test job matrix.

Comment thread src/coreclr/nativeaot/docs/android-bionic.md
@simonrozsival
Copy link
Copy Markdown
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines failed to run 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add android-arm32 runtime packs for NativeAOT

3 participants