zanmato1984 commented on code in PR #46922:
URL: https://github.com/apache/arrow/pull/46922#discussion_r2174636748


##########
cpp/src/arrow/acero/CMakeLists.txt:
##########
@@ -129,6 +129,10 @@ if(ARROW_TESTING)
   if(ARROW_WITH_OPENTELEMETRY)
     target_link_libraries(arrow_acero_testing PRIVATE 
${ARROW_OPENTELEMETRY_LIBS})
   endif()
+  # arrow_compute_testing will register the kernels for Gtest. In order to 
register the kernels
+  # for Google benchmark we use a custom main function used on 
add_arrow_compute_benchmark.
+  set(ARROW_ACERO_BENCHMARKS_TEST_LINK_LIBS
+      ${ARROW_ACERO_TEST_LINK_LIBS} arrow_acero_testing 
arrow_compute_core_testing)

Review Comment:
   There might be a difference: benchmarks can be built w/o enabling testing 
IIRC?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to