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

[C++] Fail to build with static parquet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • C++

    Description

      Trying to build a static version of arrow with parquet fails as below. Is this configuration possible?

       

      {{ -DARROW_BUILD_STATIC=ON}}
      {{ -DARROW_BUILD_TESTS=OFF}}
      {{ -DARROW_PYTHON=OFF}}
      {{ -DARROW_BOOST_USE_SHARED=OFF}}
      {{ -DARROW_WITH_SNAPPY=OFF}}
      {{ -DARROW_WITH_ZSTD=OFF}}
      {{ -DARROW_WITH_LZ4=OFF}}
      {{ -DARROW_JEMALLOC=OFF}}
      {{ -DARROW_BUILD_SHARED=OFF}}
      {{ -DARROW_BOOST_VENDORED=OFF}}
      {{ -DARROW_WITH_ZLIB=OFF}}
      {{ -DARROW_WITH_BROTLI=OFF}}
      {{ -DARROW_USE_GLOG=OFF}}
      {{ -DPTHREAD_LIBRARY=OFF}}
      {{ -DARROW_BUILD_UTILITIES=ON}}
      {{ -DARROW_TEST_LINKAGE="static"}}
      {{ -DARROW_HDFS=OFF}}
      {{ -DARROW_PARQUET=ON}}

       

      ...

       

      ==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
      Last 15 lines from /Users/jeroen/Library/Logs/Homebrew/apache-arrow/01.cmake:
      -- CMAKE_CXX_FLAGS: -Qunused-arguments -O3 -DNDEBUG -Wall -Wno-unknown-warning-option -msse4.2 -maltivec -march=armv8-a+crc -stdlib=libc++
      -- Looking for backtrace
      -- Looking for backtrace - found
      -- backtrace facility detected in default set of libraries
      -- Found Backtrace: /usr/include
      -- Configuring done
      CMake Error at cmake_modules/BuildUtils.cmake:143 (add_dependencies):
      {{ The dependency target "arrow_shared" of target "parquet_objlib" does not}}
      {{ exist.}}
      Call Stack (most recent call first):
      {{ src/parquet/CMakeLists.txt:214 (ADD_ARROW_LIB)}}
      -- Generating done
      -- Build files have been written to: /tmp/apache-arrow-20190123-44858-1as3l4q/apache-arrow-0.12.0/cpp

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              jeroenooms Jeroen
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 40m
                  1h 40m