-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Wrap static initializers in ifdef #80590
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
✅ No Failures (0 Pending)As of commit 7a1671c (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
@qihqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@qihqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
@qihqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
LGTM |
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.
Add some comments for it?
@pytorchbot successfully started a merge job. Check the current status here |
Merge failed due to Matched rule superuser, but PR #80590 has not been reviewed yet |
@qihqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
because, on iOS some projects has -Wglobal-constructors and it won't build.
@qihqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@pytorchbot merge |
@pytorchbot successfully started a merge job. Check the current status here |
Hey @qihqi. |
Summary: because, on iOS some projects has -Wglobal-constructors and it won't build. Fixes #ISSUE_NUMBER Pull Request resolved: #80590 Approved by: https://github.com/cccclai Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/c93ceef6585e140c1a33744374f76b2341bfe465 Reviewed By: cccclai Differential Revision: D37544177 Pulled By: qihqi fbshipit-source-id: e6624c50e3ee00af4176681bb2c2d48a0205c731
because, on iOS some projects has -Wglobal-constructors and it won't build.
Fixes #ISSUE_NUMBER