-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-5827: [C++] Require c-ares CMake config #4783
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
a8e255d to
4d3b6e2
Compare
4d3b6e2 to
4b4c7a3
Compare
Codecov Report
@@ Coverage Diff @@
## master #4783 +/- ##
===========================================
+ Coverage 72.26% 89.08% +16.81%
===========================================
Files 822 720 -102
Lines 107713 100086 -7627
Branches 1418 0 -1418
===========================================
+ Hits 77844 89157 +11313
+ Misses 29507 10929 -18578
+ Partials 362 0 -362
Continue to review full report at Codecov.
|
Because gRPC requires c-ares CMake config. See also: https://lists.apache.org/thread.html/babb7985a8206807dd8893a2c7affdb733f3d561ecfcc7f26ba660d9@%3Cdev.arrow.apache.org%3E
4b4c7a3 to
7fe2784
Compare
| find_package(c-ares QUIET) | ||
| find_package(c-ares QUIET CONFIG) | ||
| if(NOT c-ares_FOUND) | ||
| # Fedora doesn't package the CMake config |
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.
Does this mean building anything which requires gRPC on Fedora will fail?
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.
No -- it means that the system package cannot be used to build gRPC from source. So if -DgRPC_SOURCE=BUNDLED and the system c-ares is found, then gRPC will fail to build
wesm
left a comment
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.
+1
Because gRPC requires c-ares CMake config. See also: https://lists.apache.org/thread.html/babb7985a8206807dd8893a2c7affdb733f3d561ecfcc7f26ba660d9@%3Cdev.arrow.apache.org%3E Author: Sutou Kouhei <kou@clear-code.com> Closes #4783 from kou/cpp-c-ares-require-cmake-config and squashes the following commits: 7fe2784 <Sutou Kouhei> Require c-ares CMake config
Because gRPC requires c-ares CMake config.
See also: https://lists.apache.org/thread.html/babb7985a8206807dd8893a2c7affdb733f3d561ecfcc7f26ba660d9@%3Cdev.arrow.apache.org%3E