Yibo Cai created ARROW-16604:
--------------------------------

             Summary: [C++] Boost not included when build benchmarks
                 Key: ARROW-16604
                 URL: https://issues.apache.org/jira/browse/ARROW-16604
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Yibo Cai


{code:bash}
cmake -GNinja -DARROW_BUILD_BENCHMARKS=ON ..
{code}
failed with many boost related error, as below
{code:bash}
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)
{code}

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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to