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

[C++] Boost not included when build benchmarks

    XMLWordPrintableJSON

Details

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

    Description

      cmake -GNinja -DARROW_BUILD_BENCHMARKS=ON ..
      

      failed with many boost related error, as below

      CMake Error at cmake_modules/BuildUtils.cmake:522 (add_executable):
        Target "arrow-json-parser-benchmark" links to target "Boost::system" but
        the target was not found.  Perhaps a find_package() call is missing for an
        IMPORTED target, or an ALIAS target is missing?
      Call Stack (most recent call first):
        src/arrow/CMakeLists.txt:114 (add_benchmark)
        src/arrow/json/CMakeLists.txt:28 (add_arrow_benchmark)
      

      The error is gone if also build tests -DARROW_BUILD_TESTS=ON. Looks boost is not included when build benchmarks.

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              yibocai Yibo Cai
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 50m
                  50m