Skip to content

Commit

Permalink
Use rapids-cmake to supply Google Benchmark library. (#1224)
Browse files Browse the repository at this point in the history
This PR updates cuspatial to use rapids-cmake to supply its Google Benchmark (gbench, also called `benchmark`) dependency.

Currently I am unable to build cuspatial in a rapids-compose environment with cudf because cuspatial and cudf expect different versions of `benchmark` (rapids-cmake and cudf use 1.8.0, while cuspatial is pinned at 1.5.3).

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

Approvers:
  - Mark Harris (https://github.com/harrism)
  - Robert Maynard (https://github.com/robertmaynard)

URL: #1224
  • Loading branch information
bdice authored Jul 20, 2023
1 parent b0657dd commit 7f3231c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,8 @@ endif()

if(CUSPATIAL_BUILD_BENCHMARKS)
# Find or install GoogleBench
CPMFindPackage(NAME benchmark
VERSION 1.5.3
GIT_REPOSITORY https://github.com/google/benchmark.git
GIT_TAG v1.5.3
GIT_SHALLOW TRUE
OPTIONS "BENCHMARK_ENABLE_TESTING OFF"
"BENCHMARK_ENABLE_INSTALL OFF")
include(${rapids-cmake-dir}/cpm/gbench.cmake)
rapids_cpm_gbench()

# Find or install NVBench Temporarily force downloading of fmt because current versions of nvbench
# do not support the latest version of fmt, which is automatically pulled into our conda
Expand Down

0 comments on commit 7f3231c

Please sign in to comment.