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

Kouhei Sutou resolved ARROW-9412.
---------------------------------
    Resolution: Fixed

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

> [C++] Add non-BUNDLED dependencies to exported INSTALL_INTERFACE_LIBS of 
> arrow_static and test that it works
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-9412
>                 URL: https://issues.apache.org/jira/browse/ARROW-9412
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Tobias Mayer
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> As a companion project to ARROW-7605, we must document and test a workflow 
> for statically linking with external static dependencies.
> When a dependency is not built as BUNDLED, it can be added to 
> "ARROW_STATIC_INSTALL_INTERFACE_LIBS" so that it's included in 
> ArrowTargets-*.cmake. The third party project of course must configure the 
> dependent CMake targets
> Prior to the patch for ARROW-7605, toolchain libraries were added 
> unconditionally to ARROW_STATIC_INSTALL_INTERFACE_LIBS whether BUNDLED or not 
> (including our private jemalloc), creating a broken CMake "arrow_static" 
> target. So this patch is to partially revert these changes to enable static 
> linking with external toolchain libraries without breaking the BUNDLED static 
> builds. Finally, this must be tested similar to 
> cpp/examples/minimal_build/run_static.sh so that we can verify that each of 
> the build/link scenarios are working correctly



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

Reply via email to