-
Notifications
You must be signed in to change notification settings - Fork 713
[ExecuTorch] Unbreak Intel Apple Buck builds #5431
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
Conversation
The code is gated on `#ifdef __aarch64__`, but the `-march` flag wasn't. Differential Revision: [D62884370](https://our.internmc.facebook.com/intern/diff/D62884370/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5431
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a8fc9bb with merge base 3befc8a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
The code is gated on `#ifdef __aarch64__`, but the `-march` flag wasn't. Differential Revision: [D62884370](https://our.internmc.facebook.com/intern/diff/D62884370/) ghstack-source-id: 243083716 Pull Request resolved: #5431
|
This pull request was exported from Phabricator. Differential Revision: D62884370 |
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.
Is this for oss buck or internal buck?
| fbobjc_platform_compiler_flags = [ | ||
| ( | ||
| ".*arm64.*", | ||
| ["-march=armv8+bf16"], |
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.
I'm not sure how this fix the issue, maybe some comments can help
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.
Wouldn't that crash on older phones/laptops?
definitely internal, not sure if fbobjc_-prefixed flags affect OSS. I will follow up by looking into getting these flags set properly on OSS ARM64. |
| fbobjc_platform_compiler_flags = [ | ||
| ( | ||
| ".*arm64.*", | ||
| ["-march=armv8+bf16"], |
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.
Wouldn't that crash on older phones/laptops?
|
This pull request has been merged in 06c0fa3. |
Stack from ghstack (oldest at bottom):
The code is gated on
#ifdef __aarch64__, but the-marchflag wasn't.Differential Revision: D62884370