You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:11:03 UTC
[jira] [Updated] (ARROW-713) [C++] Fix linking issue with ipc benchmark
[ https://issues.apache.org/jira/browse/ARROW-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rok Mihevc updated ARROW-713:
-----------------------------
External issue URL: https://github.com/apache/arrow/issues/16332
> [C++] Fix linking issue with ipc benchmark
> ------------------------------------------
>
> Key: ARROW-713
> URL: https://issues.apache.org/jira/browse/ARROW-713
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Jeff Knupp
> Assignee: Jeff Knupp
> Priority: Major
> Fix For: 0.3.0
>
>
> The `CMakeLists.txt` for `src/arrow/ipc` recently added the following 3 lines:
> {code}
> ADD_ARROW_BENCHMARK(ipc-read-write-benchmark)
> ARROW_TEST_LINK_LIBRARIES(ipc-read-write-benchmark
> ${ARROW_IPC_TEST_LINK_LIBS})
> {code}
> The second line should be {{ARROW_BENCHMARK_LINK_LIBRARIES}}. Otherwise, attempting to build gives the following error:
> {code}
> 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)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)