Skip to content

[release/9.4] [CI] Enable Native AOT for Cli on linux-arm64, and linux-musl-x64 #10665

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

Open
wants to merge 4 commits into
base: release/9.4
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 25, 2025

Backport of #10663 to release/9.4

This uses docker linux images for cross compiling to build Native AOT Cli for Linux RIDs.

/cc @radical

Customer Impact

AOTed CLI available for linux-arm64 (size: 7.5M vs 17M uncompressed), and linux-musl-x64 (size: 18M vs 71M). And these should run faster than the single file binary being generated right now.

Testing

The generated binaries have not been manually run on these two platforms. But an additional msbuild based check has been added which runs file on the binaries to confirm that signature is as expected.

Risk

This would need testing same as all the other RIDs, without which we could ship a broken cli for linux-arm64, and linux-musl-x64.

Regression?

No

radical added 4 commits July 25, 2025 01:13
These are cross compiled on linux-x64 images.

Authored by Alexander Köplinger <alkpli@microsoft.com>
… that the native binary is for the correct arch
@joperezr
Copy link
Member

Hey @radical, can you please fill in the template info so we can consider this backport? At first glance, this seems a bit more risk than what we'd probably want to take at this stage so it would be good to be able to get more info around the change to weigh pros and cons.

@radical
Copy link
Member

radical commented Jul 25, 2025

@joperezr Updated the template.

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.

3 participants