Chengxin Ma created ARROW-7320:
----------------------------------
Summary: Target arrow-type-benchmark failed to be built on bullx
Linux
Key: ARROW-7320
URL: https://issues.apache.org/jira/browse/ARROW-7320
Project: Apache Arrow
Issue Type: Bug
Components: C++
Affects Versions: 1.0.0
Environment: bullx Linux
Reporter: Chengxin Ma
I was building Arrow on bullx Linux (a Linux distribution compatible with Red
Hat Enterprise Linux).
CMake options:
{code}
-DCMAKE_BUILD_TYPE=Debug
-DARROW_FLIGHT=ON
-DARROW_BUILD_BENCHMARKS=ON
{code}
{{make}} failed with the following error message:
{code}
Scanning dependencies of target arrow-type-benchmark
[ 72%] Building CXX object
src/arrow/CMakeFiles/arrow-type-benchmark.dir/type_benchmark.cc.o
make[2]: *** No rule to make target
`gbenchmark_ep/src/gbenchmark_ep-install/lib/libbenchmark_main.a', needed by
`debug/arrow-type-benchmark'. Stop.
make[1]: *** [src/arrow/CMakeFiles/arrow-type-benchmark.dir/all] Error 2
make: *** [all] Error 2
{code}
This is due to the same reason as mentioned in [this
commit|https://github.com/apache/arrow/pull/4246/commits/f6b0bc7f8dc56f02e2778752235e728b7623a9ee]:
If {{-DCMAKE_INSTALL_LIBDIR=lib}} is not explicitly set,
{{libbenchmark_main.a}} will be put in {{lib64}} instead of {{lib}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)