Skip to content

Commit

Permalink
Use static gbench (#1837)
Browse files Browse the repository at this point in the history
RMM benchmarks should statically link Google Benchmark. We saw they were linking to `libbenchmark.so` while working with rattler-build: #1836 (comment)

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Gil Forsyth (https://github.com/gforsyth)
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

URL: #1837
  • Loading branch information
bdice authored Feb 25, 2025
1 parent 88eaaaf commit e9f7f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ endif()

if(BUILD_BENCHMARKS AND CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
include(${rapids-cmake-dir}/cpm/gbench.cmake)
rapids_cpm_gbench()
rapids_cpm_gbench(BUILD_STATIC)
add_subdirectory(benchmarks)
endif()

Expand Down

0 comments on commit e9f7f21

Please sign in to comment.