Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
ARROW-14708: [C++] Adding missing abseil dependencies to enable static flight build#11889
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
d6d7d09b6e8a2326d27e695c6df8aa4f1cac073c6025b406061ca815fa7fb39b4c118bFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3412,6 +3412,14 @@ macro(build_absl_once) | ||
| absl::raw_logging_internal | ||
| absl::strings | ||
| absl::time_zone) | ||
| if(APPLE) | ||
| # This is due to upstream absl::cctz issue | ||
| # https://github.com/abseil/abseil-cpp/issues/283 | ||
| find_library(CoreFoundation CoreFoundation) | ||
| set_property(TARGET absl::time | ||
| APPEND | ||
| PROPERTY INTERFACE_LINK_LIBRARIES ${CoreFoundation}) | ||
| endif() | ||
| set_property(TARGET absl::type_traits PROPERTY INTERFACE_LINK_LIBRARIES absl::config) | ||
| set_property(TARGET absl::utility | ||
| PROPERTY INTERFACE_LINK_LIBRARIES absl::base_internal absl::config | ||
| @@ -3584,13 +3592,28 @@ macro(build_grpc) | ||
| INTERFACE_INCLUDE_DIRECTORIES "${GRPC_INCLUDE_DIR}") | ||
| set(GRPC_GPR_ABSL_LIBRARIES | ||
| absl::bad_optional_access | ||
| absl::base | ||
| absl::statusor | ||
| absl::status | ||
| absl::cord | ||
| absl::debugging_internal | ||
| absl::demangle_internal | ||
| absl::graphcycles_internal | ||
| absl::int128 | ||
| absl::malloc_internal | ||
| absl::raw_logging_internal | ||
| absl::spinlock_wait | ||
| absl::stacktrace | ||
| absl::status | ||
| absl::statusor | ||
| absl::strings | ||
| absl::strings_internal | ||
| absl::str_format_internal | ||
| absl::symbolize | ||
| absl::synchronization | ||
| absl::time) | ||
| absl::throw_delegate | ||
| absl::time | ||
| absl::time_zone) | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we create a one-linear(?) to collect this list like https://github.com/apache/arrow/blob/master/cpp/cmake_modules/ThirdpartyToolchain.cmake#L2659-L2667 ? It may be better that we have a shell script that generates the list and include it from this file: # cpp/build-support/list-grpc-absl-libraries.sh
...
echo"set(GRPC_GPR_ABSL_LIBRARIES absl::...)"$ cpp/build-support/list-grpc-absl-libraries.sh > cpp/cmake_modules/gRPCVariables.cmakediff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index 66d04acae..36565fdbf 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake@@ -3475,14 +3475,7 @@ macro(build_grpc)
PROPERTIES IMPORTED_LOCATION "${GRPC_STATIC_LIBRARY_UPB}"
INTERFACE_INCLUDE_DIRECTORIES "${GRPC_INCLUDE_DIR}")
- set(GRPC_GPR_ABSL_LIBRARIES- absl::base- absl::statusor- absl::status- absl::cord- absl::strings- absl::synchronization- absl::time)+ include(gRPCVariables)
add_library(gRPC::gpr STATIC IMPORTED)
set_target_properties(gRPC::gpr
PROPERTIES IMPORTED_LOCATION "${GRPC_STATIC_LIBRARY_GPR}" | ||
| add_library(gRPC::gpr STATIC IMPORTED) | ||
| set_target_properties(gRPC::gpr | ||
| PROPERTIES IMPORTED_LOCATION "${GRPC_STATIC_LIBRARY_GPR}" | ||
Uh oh!
There was an error while loading. Please reload this page.