Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7499

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 0.17.0
    • C++
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              npr Neal Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: