-
Notifications
You must be signed in to change notification settings - Fork 26.3k
introduce new --gen-dir flag to generate_code and use it in fbcode #75800
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
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
Contributor
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit c85bbfa (more details on the Dr. CI page): Expand to see more
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
This was referenced Apr 14, 2022
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This was referenced Apr 15, 2022
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
dreiss
approved these changes
Apr 22, 2022
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
This was referenced Apr 27, 2022
Closed
Closed
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
…n fbcode" This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. Differential Revision: [D35648586](https://our.internmc.facebook.com/intern/diff/D35648586/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D35648586/)! [ghstack-poisoned]
facebook-github-bot
pushed a commit
that referenced
this pull request
May 4, 2022
…75800) Summary: Pull Request resolved: #75800 This leads to more similarities between OSS CMake and eventually OSS Bazel. We will be able to generate files with the same names and not have different file lists between the builds. ghstack-source-id: 155300043 Test Plan: Verified locally and in CI. Reviewed By: dreiss Differential Revision: D35648586 fbshipit-source-id: 9f1638b5665ebcc64466883f65ef24a2bfd05228
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
This leads to more similarities between OSS CMake and eventually OSS
Bazel. We will be able to generate files with the same names and not
have different file lists between the builds.
Differential Revision: D35648586
NOTE FOR REVIEWERS: This PR has internal Facebook specific changes or comments, please review them on Phabricator!