Enable Linux ARM64 builds and packaging - #2107
Merged
Merged
Conversation
baijumeswani
force-pushed
the
baijumeswani/linux-aarch64
branch
from
May 5, 2026 17:14
35b6887 to
0b27915
Compare
baijumeswani
force-pushed
the
baijumeswani/linux-aarch64
branch
from
May 15, 2026 05:47
0b27915 to
d343883
Compare
baijumeswani
marked this pull request as ready for review
May 19, 2026 18:24
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds Linux ARM64 (linux-aarch64) support across build, packaging, validation, and publishing pipelines to address microsoft/foundry-local#673.
Changes:
- Add
linux-arm64to NuGet packaging and custom nuspec generation inputs. - Introduce manylinux aarch64 Docker support and adjust CI steps to select the correct Dockerfile/pool.
- Extend Python wheel manylinux repair logic and enable ARM64 packaging/validation stages.
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/nuget/generate_nuspec_for_native_nuget.py | Adds linux-arm64 RID to native NuGet artifact inclusion. |
| tools/nuget/generate_nuspec_for_custom_nuget.py | Adds linux-arm64 input directory wiring for custom nuspec generation. |
| tools/ci_build/github/linux/docker/manylinux/scripts/install_deps.sh | Skips missing Python executables in base images. |
| tools/ci_build/github/linux/docker/manylinux/Dockerfile.manylinux2_28_cpu_aarch64 | New manylinux aarch64 Docker image definition for ARM64 builds. |
| src/python/CMakeLists.txt | Chooses auditwheel input wheel glob based on CPU architecture. |
| .pipelines/stages/py-validation-stage.yml | Adds optional linux arm64 CPU validation stage. |
| .pipelines/stages/py-packaging-stage.yml | Adds optional linux arm64 CPU packaging stage. |
| .pipelines/stages/nuget-validation-stage.yml | Adds optional linux arm64 CPU NuGet validation stage. |
| .pipelines/stages/nuget-packaging-stage.yml | Plumbs linux arm64 CPU enablement into NuGet packaging job template. |
| .pipelines/stages/jobs/steps/capi-linux-step.yml | Selects aarch64 Dockerfile when arch=arm64. |
| .pipelines/stages/jobs/py-validation-job.yml | Skips UsePythonVersion on linux-arm64 agents. |
| .pipelines/stages/jobs/py-packaging-job.yml | Skips UsePythonVersion on linux-arm64 agents. |
| .pipelines/stages/jobs/nuget-packaging-job.yml | Downloads/extracts linux-arm64 artifacts and validates expected native libs exist. |
| .pipelines/stages/jobs/custom-nuget-packaging-job.yml | Downloads linux-arm64 artifacts and passes them to custom nuspec generator. |
| .pipelines/stages/jobs/capi-packaging-job.yml | Switches linux arm64 pool name and skips UsePythonVersion on linux-arm64. |
| .pipelines/stages/capi-packaging-stage.yml | Adds optional linux arm64 CPU C API packaging stage. |
| .pipelines/pypl-publishing.yml | Enables linux arm64 CPU packaging/validation by default in publishing pipeline. |
| .pipelines/nuget-publishing.yml | Enables linux arm64 CPU packaging/validation by default in publishing pipeline. |
| .github/workflows/linux-cpu-arm64-build.yml | Adds C# tests and example builds to ARM64 Linux GitHub Actions workflow. |
kunal-vaishnavi
previously approved these changes
May 19, 2026
baijumeswani
enabled auto-merge (squash)
May 20, 2026 04:10
kunal-vaishnavi
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enables Linux ARM64 builds for the C API tarball, Python wheels, and NuGet packages.
Addresses microsoft/foundry-local#673 and other partner asks.