Repository navigation
GH-36479: [C++][FlightRPC] Use gRPC version detected by find_package() - #36581
Conversation
We don't need to use `try_compile()` by using gRPC version detected by `find_package()`.
|
@github-actions crossbow submit -g nightly-tests -g nightly-packaging -g nightly-release |
|
Revision: 7a33aae Submitted crossbow builds: ursacomputing/crossbow @ actions-f185f0e942 |
| HINTS ${GRPCPP_PC_STATIC_LIBRARY_DIRS}) | ||
| list(APPEND GRPCPP_LINK_LIBRARIES "${GRPCPP_LIBRARY_${GRPCPP_LIBRARY_NAME}}") | ||
| endforeach() | ||
| list(APPEND GRPCPP_LINK_LIBRARIES Threads::Threads) |
There was a problem hiding this comment.
This is duplicated from L39, should we move it under the if as it is appended to the list in all cases?
There was a problem hiding this comment.
(I apparently had this open while it was merged ^^ so we can do it in another related PR)
There was a problem hiding this comment.
Oh, sorry. Could you work on this?
|
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 2a2c253. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them. |
| string(REPLACE "/WX" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") | ||
| string(REPLACE "-Werror " " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") | ||
|
|
||
| # Probe the version of gRPC being used to see if it supports disabling server |
There was a problem hiding this comment.
@kou Is there a reason we kept the KLUDGE above when removing the try_compile calls?
There was a problem hiding this comment.
No. I should have removed the KLUDGE too in this PR.
Rationale for this change
We don't need to use
try_compile()by using gRPC version detected byfind_package().What changes are included in this PR?
Use gRPC version detected by
find_package().Are these changes tested?
Yes.
Are there any user-facing changes?
No.