kou commented on code in PR #45001:
URL: https://github.com/apache/arrow/pull/45001#discussion_r2165972776


##########
cpp/src/arrow/compute/CMakeLists.txt:
##########
@@ -138,6 +138,15 @@ add_arrow_compute_test(row_test
 
 add_arrow_benchmark(function_benchmark PREFIX "arrow-compute")
 
+if(ARROW_BUILD_BENCHMARKS AND ARROW_COMPUTE)
+  add_arrow_benchmark(key_hash_benchmark PREFIX "arrow-compute")
+  if(ARROW_BUILD_STATIC)
+    target_link_libraries(arrow-compute-key-hash-benchmark PUBLIC 
arrow_compute_static)
+  else()
+    target_link_libraries(arrow-compute-key-hash-benchmark PUBLIC 
arrow_compute_shared)
+  endif()
+endif()

Review Comment:
   Ah, yes. I didn't notice it.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to