You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/07/10 22:08:00 UTC
[jira] [Created] (ARROW-9412) [C++] Add non-BUNDLED dependencies to
exported INSTALL_INTERFACE_LIBS of arrow_static and test that it works
Wes McKinney created ARROW-9412:
-----------------------------------
Summary: [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
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)