raulcd commented on PR #46922:
URL: https://github.com/apache/arrow/pull/46922#issuecomment-3028912240

   Thanks! The `archery benchmark run` pointer was really useful. I am able to 
reproduce locally now, these are the CMake arguments we use at buildkite:
   ```
   (Pdb) self.arguments
   ['-GNinja', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', 
'-DCMAKE_BUILD_TYPE=release', '-DBUILD_WARNING_LEVEL=production', 
'-DARROW_BUILD_STATIC=ON', '-DARROW_BUILD_SHARED=ON', '-DCMAKE_UNITY_BUILD=ON', 
'-DARROW_BUILD_TESTS=OFF', '-DARROW_BUILD_BENCHMARKS=ON', 
'-DARROW_BUILD_EXAMPLES=OFF', '-DARROW_BUILD_INTEGRATION=OFF', 
'-DARROW_USE_ASAN=OFF', '-DARROW_USE_TSAN=OFF', '-DARROW_USE_UBSAN=OFF', 
'-DARROW_FUZZING=OFF', '-DARROW_COMPUTE=ON', '-DARROW_CSV=ON', 
'-DARROW_CUDA=OFF', '-DARROW_DATASET=ON', '-DARROW_FILESYSTEM=ON', 
'-DARROW_FLIGHT=OFF', '-DARROW_GANDIVA=OFF', '-DARROW_GCS=OFF', 
'-DARROW_HDFS=OFF', '-DARROW_IPC=ON', '-DARROW_JSON=ON', '-DARROW_MIMALLOC=ON', 
'-DARROW_JEMALLOC=ON', '-DARROW_PARQUET=ON', '-DARROW_S3=OFF', 
'-DARROW_WITH_BROTLI=ON', '-DARROW_WITH_BZ2=ON', '-DARROW_WITH_LZ4=ON', 
'-DARROW_WITH_SNAPPY=ON', '-DARROW_WITH_ZLIB=ON', '-DARROW_WITH_ZSTD=ON', 
'-DARROW_USE_LD_GOLD=ON', '-DARROW_SIMD_LEVEL=DEFAULT', 
'/home/raulcd/code/arrow/cpp', '-DCMAKE_VERBOSE_MAKEFILE=ON']
   
   ```
   and this is the verbose info:
   ```
   [313/318] : && /usr/bin/c++ -Wno-noexcept-type -Wno-self-move 
-Wno-subobject-linkage  -fdiagnostics-color=always -fuse-ld=gold  -Wall 
-fno-semantic-interposition -msse4.2  -O3 -DNDEBUG -O2 -ftree-vectorize  
src/arrow/acero/CMakeFiles/arrow_acero_testing.dir/Unity/unity_0_cxx.cxx.o 
src/arrow/compute/CMakeFiles/arrow_compute_core_testing.dir/Unity/unity_0_cxx.cxx.o
 
src/arrow/acero/CMakeFiles/arrow-acero-aggregate-benchmark.dir/Unity/unity_0_cxx.cxx.o
 -o release/arrow-acero-aggregate-benchmark  
-Wl,-rpath,/tmp/arrow-archery-ww8ylku7/WORKSPACE/build/release  
gbenchmark_ep/src/gbenchmark_ep-install/lib/libbenchmark_main.a  
release/libarrow_compute.a  release/libarrow_acero.a  -ldl  
gbenchmark_ep/src/gbenchmark_ep-install/lib/libbenchmark.a  
release/libarrow_compute.a  re2_ep-install/lib/libre2.a  
utf8proc_ep-install/lib/libutf8proc.a  release/libarrow.a  
jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc_pic.a  
mimalloc_ep/src/mimalloc_ep/lib/mimalloc-2.2/libmimalloc.a  /usr/lib/
 x86_64-linux-gnu/libbrotlienc.so  /usr/lib/x86_64-linux-gnu/libbrotlidec.so  
/usr/lib/x86_64-linux-gnu/libbrotlicommon.so  
/usr/lib/x86_64-linux-gnu/libbz2.so  _deps/lz4-build/liblz4.a  
snappy_ep/src/snappy_ep-install/lib/libsnappy.a  
/usr/lib/x86_64-linux-gnu/libz.so  /usr/lib/x86_64-linux-gnu/libzstd.so.1.5.5  
-lrt  release/libarrow_testing.so.2100.0.0  
release/libarrow_gtest_main.so.1.16.0  release/libarrow_acero.so.2100.0.0  
release/libarrow_compute.so.2100.0.0  release/libarrow.so.2100.0.0  -ldl  
release/libarrow_gmock.so.1.16.0  release/libarrow_gtest.so.1.16.0 && :
   ```
   Yes, we seem to be linking both static and shared libraries.


-- 
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