-
Notifications
You must be signed in to change notification settings - Fork 713
[RFC] Fetch gflags dynamically #11285
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/11285
Note: Links to docs will display an error until the docs builds have been completed. ❌ 22 New Failures, 1 Unrelated FailureAs of commit 0ca8d22 with merge base 09a4b9d ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
5fb5c1b to
1203bce
Compare
1203bce to
5cb2e4b
Compare
third-party/CMakeLists.txt
Outdated
|
|
||
| FetchContent_gflags() | ||
| # Create a symlink from the gflags source directory to third-party/gflags | ||
| message(STATUS "gflags source dir: ${gflags_SOURCE_DIR}") |
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.
nit: lets not log, it's too noisy — do we really need to tell them every time?
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.
I think this is very helpful for debugging
|
Why add such as complication? What are we optimizing for? What are the trade-offs? gflags doesn't seem very large (if you're optimizing for disk space) |
|
See some previous context here: #7305 |
|
Discussed with @larryliu0820 offline and we decided to punt on this until our buck workflow is removed from cmake. |
Summary
I recently learned about FetchContent. This seems like a nicer solution than using submodules. Thoughts?
Test plan
CI