-
Notifications
You must be signed in to change notification settings - Fork 527
[Windows] don't use invalid flags on Windows #8915
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8915
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 4a69380 with merge base b2bee8c ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Overall, I think we only need to change the |
c1f9345
to
4a69380
Compare
@SS-JIA thank you! I've made those changes and it's much better. If I grep for |
@SamGondelman LGTM! Yes, we can update compile flags incrementally. |
don't use invalid flags on windows
Summary
This is the fourth PR in my attempt to get Windows builds working. Since "-Wno-missing-prototypes",
#pragma GCC diagnostic push
, etc. aren't valid with non-gcc compilers, let's wrap them so we are only doing them on non-Windows platforms.Test plan
Since we aren't actually building on Windows yet, this should have no effect on existing platforms, so just confirm that everything builds.