Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Always use a static gtest (#167)
Browse files Browse the repository at this point in the history
Contributes to rapidsai/build-planning#32

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - https://github.com/damontecres
  - Ray Douglass (https://github.com/raydouglass)

URL: #167
  • Loading branch information
vyasr authored May 10, 2024
1 parent d77f6a0 commit 4187cfa
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 35 deletions.
6 changes: 0 additions & 6 deletions conda/recipes/libwholegraph/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ doxygen_version:
nccl_version:
- ">=2.9.9"

gtest_version:
- ">=1.13.0"

gmock_version:
- ">=1.13.0"

c_stdlib:
- sysroot

Expand Down
4 changes: 0 additions & 4 deletions conda/recipes/libwholegraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ requirements:
{% endif %}
- cuda-version ={{ cuda_version }}
- doxygen {{ doxygen_version }}
- gmock {{ gtest_version }}
- gtest {{ gtest_version }}
- libraft ={{ minor_version }}
- libraft-headers ={{ minor_version }}
- librmm ={{ minor_version }}
Expand Down Expand Up @@ -134,8 +132,6 @@ outputs:
{% else %}
- cuda-cudart
{% endif %}
- gmock {{ gtest_version }}
- gtest {{ gtest_version }}
about:
home: https://rapids.ai/
license: Apache-2.0
Expand Down
3 changes: 2 additions & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ endif()

# optionally build tests
if(BUILD_TESTS AND CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
include(./cmake/thirdparty/get_gtest.cmake)
include(${rapids-cmake-dir}/cpm/gtest.cmake)
rapids_cpm_gtest(BUILD_STATIC)
include(CTest) # calls enable_testing()

add_subdirectory(tests)
Expand Down
24 changes: 0 additions & 24 deletions cpp/cmake/thirdparty/get_gtest.cmake

This file was deleted.

0 comments on commit 4187cfa

Please sign in to comment.