Skip to content

[C++] CMake should collect libs when making static build #23764

Closed

Description

@asfimport

From https://github.com/apache/arrow/pull/6068/files#r360672071:

# Copy the bundled static libs from the build to the install dir
find . -regex .*/.*/lib/.*\\.a\$ | xargs -I{} cp -u {} ${DEST_DIR}/lib

I think that we should do this by CMake when -DARROW_BUILD_STATIC=ON is specified.
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/arrow/vendored/libXXX.a may be better for the installed path to avoid conflict.

Reporter: Neal Richardson / @nealrichardson
Assignee: Kouhei Sutou / @kou

Related issues:

Note: This issue was originally created as ARROW-7499. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Mar 23, 2020

    @asfimport
    Author

    Wes McKinney / @wesm:
    We may close this in favor of the approach of merging the static libraries together into libarrow.a

  2. asfimport commented on Mar 23, 2020

    @asfimport
    Author

    Neal Richardson / @nealrichardson:
    I would prefer the merging approach.

  3. asfimport commented on Mar 23, 2020

    @asfimport
    Author

    Kouhei Sutou / @kou:
    OK. Let's close this.

  4. added this to the 0.17.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions