Skip to content

Commit

Permalink
Use static gtest (#83)
Browse files Browse the repository at this point in the history
Allows us to remove the gtest dependency from our conda env for testing.

Authors:
  - Robert Maynard (https://github.com/robertmaynard)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Jake Awe (https://github.com/AyodeAwe)
  - Corey J. Nolet (https://github.com/cjnolet)

URL: #83
  • Loading branch information
robertmaynard authored Apr 16, 2024
1 parent 8df8c49 commit a237049
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 30 deletions.
3 changes: 0 additions & 3 deletions conda/recipes/libcuvs/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ cmake_version:
nccl_version:
- ">=2.9.9"

gtest_version:
- ">=1.13.0"

h5py_version:
- ">=3.8.0"

Expand Down
4 changes: 0 additions & 4 deletions conda/recipes/libcuvs/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ outputs:
- libcusolver-dev
- libcusparse-dev
{% endif %}
- gmock {{ gtest_version }}
- gtest {{ gtest_version }}
run:
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
{% if cuda_major == "11" %}
Expand All @@ -231,8 +229,6 @@ outputs:
{% endif %}
- libraft ={{ minor_version }}
- {{ pin_subpackage('libcuvs', exact=True) }}
- 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 @@ -177,7 +177,8 @@ if(BUILD_C_LIBRARY)
endif()

if(BUILD_TESTS OR BUILD_C_TESTS)
include(cmake/thirdparty/get_gtest.cmake)
include(${rapids-cmake-dir}/cpm/gtest.cmake)
rapids_cpm_gtest(BUILD_STATIC)
endif()

include(cmake/thirdparty/get_cutlass.cmake)
Expand Down
22 changes: 0 additions & 22 deletions cpp/cmake/thirdparty/get_gtest.cmake

This file was deleted.

0 comments on commit a237049

Please sign in to comment.