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

Target libarrow_bundled_dependencies.a is not alreay created but is already required.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 4.0.0
    • C++

    Description

      When ``-DARROW_BUILD_STATIC=ON``, all build dependencies built as static libraries by the Arrow build system will be merged together to create a static library ``arrow_bundled_dependencies``.
       
      But that is only true when there are indeed some dependencies, i.e., when ``ARROW_BUNDLED_STATIC_LIBS`` is not empty [1]. It could be empty when we just enable some of features when building arrow (e.g., just the arrow core).
       
      However the target is unconditionally required by the target ``arrow_static`` [2]. That makes the staticly-built arrow libs cannot be used with cmake.
       
      [1]: https://github.com/apache/arrow/blob/master/cpp/src/arrow/CMakeLists.txt#L523
      [2]https://github.com/apache/arrow/blob/master/cpp/src/arrow/ArrowConfig.cmake.in#L74

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sighingnow Tao He
            sighingnow Tao He
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h

                Slack

                  Issue deployment