You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2021/03/04 05:14:00 UTC

[jira] [Resolved] (ARROW-11836) Target libarrow_bundled_dependencies.a is not alreay created but is already required.

     [ https://issues.apache.org/jira/browse/ARROW-11836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kouhei Sutou resolved ARROW-11836.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 9622
[https://github.com/apache/arrow/pull/9622]

> Target libarrow_bundled_dependencies.a is not alreay created but is already required.
> -------------------------------------------------------------------------------------
>
>                 Key: ARROW-11836
>                 URL: https://issues.apache.org/jira/browse/ARROW-11836
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 3.0.0
>            Reporter: Tao He
>            Assignee: Tao He
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)