Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0
Description
When ``-DARROW_BUILD_STATIC=ON``, all build dependencies built as static libraries by the Arrow build system will be merged together to create a static library ``arrow_bundled_dependencies``.
But that is only true when there are indeed some dependencies, i.e., when ``ARROW_BUNDLED_STATIC_LIBS`` is not empty [1]. It could be empty when we just enable some of features when building arrow (e.g., just the arrow core).
However the target is unconditionally required by the target ``arrow_static`` [2]. That makes the staticly-built arrow libs cannot be used with cmake.
[1]: https://github.com/apache/arrow/blob/master/cpp/src/arrow/CMakeLists.txt#L523
[2]: https://github.com/apache/arrow/blob/master/cpp/src/arrow/ArrowConfig.cmake.in#L74
Attachments
Issue Links
- links to