-
Notifications
You must be signed in to change notification settings - Fork 814
Allow building aarch64|arm64 (Large VM, Debian) for a rpi4 deployment #16860
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16860
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New FailuresAs of commit 3fe3c93 with merge base 15ad846 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Adjusts the Raspberry Pi cross-compilation setup script to correctly detect arm64/aarch64 hosts so the proper ARM GNU toolchain is selected when building on ARM64 VMs for Raspberry Pi deployment.
Changes:
- Updates host-architecture normalization to map
arm64/aarch64toaarch64(instead ofx86_64). - Keeps
x86_64/amd64normalization unchanged.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
I'm not sure why the current build script has the current logic, but to compile on an aarch64 VM for deployment to a rpi4, we need to use the right cross-compiler. Per request, also fixing the arm64 logic. NB: I've rebased this against main, not v1.0.0 as I think this is a generic fix that can be backported if needed Amp-Thread-ID: https://ampcode.com/threads/T-019bf424-c136-70b1-80a5-99c96af65642 Co-authored-by: Amp <amp@ampcode.com>
37541a5 to
f5ddd45
Compare
|
❌ 🤖 pytorchbot command failed: Try |
|
Didn't find following labels among repository labels: release notes: bug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
I'm not sure why the current build script has the current logic, but to compile on an aarch64|arm64 VM for deployment to a rpi4, we need to use the right cross-compiler. This fixes the selection. Hopefully in dialogue the original logic will emerge.
Test plan
Built on a Debian Bookworm VM (Large) for deployment to a Debian RPI4 (Small)
Per request, fixed the arm64 logic as well.
The original PR (#16734) would not refresh, so I've closed and re-opened. Apologies for the noise @kirklandsign !