-
Notifications
You must be signed in to change notification settings - Fork 685
Remove #include <span> #10533
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
Remove #include <span> #10533
Conversation
Remove span.h. Seems like it is not needed. Also part of C++20, not 17, which caused some errors when I was building et tests locally. ``` error: 10:10: fatal error: span: No such file or directory 10 | #include <span> | ^~~~~~ compilation terminated. gmake\[2\]: \*\*\* \[runtime79: runtime/core/test/CMakeFiles/runtime\_core\_test.dir/span\_test.cpp.o\] Error 1 gmake\[1\]: \*\*\* \[CMakeFiles5899: runtime/core/test/CMakeFiles/runtime\_core\_test.dir/all\] Error 2 gmake\[1\]: \*\*\* Waiting for unfinished jobs.... ``` Differential Revision: [D73810585](https://our.internmc.facebook.com/intern/diff/D73810585/) [ghstack-poisoned]
Remove span.h. Seems like it is not needed. Also part of C++20, not 17, which caused some errors when I was building et tests locally. ``` error: 10:10: fatal error: span: No such file or directory 10 | #include <span> | ^~~~~~ compilation terminated. gmake\[2\]: \*\*\* \[runtime79: runtime/core/test/CMakeFiles/runtime\_core\_test.dir/span\_test.cpp.o\] Error 1 gmake\[1\]: \*\*\* \[CMakeFiles5899: runtime/core/test/CMakeFiles/runtime\_core\_test.dir/all\] Error 2 gmake\[1\]: \*\*\* Waiting for unfinished jobs.... ``` Differential Revision: [D73810585](https://our.internmc.facebook.com/intern/diff/D73810585/) ghstack-source-id: 280789075 Pull Request resolved: #10533
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10533
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 10 Pending, 1 Unrelated FailureAs of commit d09a945 with merge base df75088 ( NEW FAILURE - The following job has failed:
BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D73810585 |
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.
for future reference, based on the title I would've expected this diff to be deleting a file called span.h. I would recommend calling this "remove #include " or similar.
f7ed0f4
into
gh/lucylq/73/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #10533 by @lucylq ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/73/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/73/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/73/orig @diff-train-skip-merge Co-authored-by: lucylq <lfq@meta.com>
Stack from ghstack (oldest at bottom):
Remove # include span
Seems like it is not needed. Also part of C++20, not 17, which caused some errors when I was building et tests locally.
Differential Revision: D73810585