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

[C++] Fix linking issue with ipc benchmark

    XMLWordPrintableJSON

Details

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

    Description

      The `CMakeLists.txt` for `src/arrow/ipc` recently added the following 3 lines:

      ADD_ARROW_BENCHMARK(ipc-read-write-benchmark)
      ARROW_TEST_LINK_LIBRARIES(ipc-read-write-benchmark
        ${ARROW_IPC_TEST_LINK_LIBS})
      

      The second line should be ARROW_BENCHMARK_LINK_LIBRARIES. Otherwise, attempting to build gives the following error:

      CMake Error at CMakeLists.txt:358 (target_link_libraries):
        Cannot specify link libraries for target "ipc-read-write-benchmark" which
        is not built by this project.
      Call Stack (most recent call first):
        src/arrow/ipc/CMakeLists.txt:176 (ARROW_TEST_LINK_LIBRARIES)
      

      Attachments

        Activity

          People

            jeffknupp Jeff Knupp
            jeffknupp Jeff Knupp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: