-
Notifications
You must be signed in to change notification settings - Fork 691
Correct the flatc/flatcc compilation for x86 ios simulator #13080
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/13080
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit e6d20ef with merge base 335de46 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
I have updated the commands to compile |
-DCMAKE_TOOLCHAIN_FILE= | ||
# If building for iOS, "unset" these variables to rely on the host (macOS) defaults. | ||
$<$<AND:$<BOOL:${APPLE}>,$<BOOL:$<FILTER:${PLATFORM},EXCLUDE,^MAC>>>:-DCMAKE_OSX_SYSROOT=> | ||
$<$<STREQUAL:$<LOWER_CASE:${CMAKE_SYSTEM_NAME}>,ios>:-DCMAKE_OSX_SYSROOT=macosx> |
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.
@larryliu0820 any objections?
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Summary
The guard condition for ios flavors does not work for the x86 ios simulator.
Making the filter to look at ios works for:
Test plan
Env setup
Compilation
The error would be