You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/20 21:18:00 UTC

[jira] [Updated] (ARROW-9412) [C++] Add non-BUNDLED dependencies to exported INSTALL_INTERFACE_LIBS of arrow_static and test that it works

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

ASF GitHub Bot updated ARROW-9412:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  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)