Skip to content

Commit

Permalink
hide RAFT #pragma deprecation warnings (#114)
Browse files Browse the repository at this point in the history
Define `-DRAFT_HIDE_DEPRECATION_WARNINGS` added in rapidsai/raft#2271.

Authors:
  - Paul Taylor (https://github.com/trxcllnt)
  - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai/cuvs#114
  • Loading branch information
difyrrwrzd authored May 23, 2024
1 parent dd5ab4c commit 00755e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/cmake/modules/ConfigureCUDA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# =============================================================================

if(DISABLE_DEPRECATION_WARNINGS)
list(APPEND CUVS_CXX_FLAGS -Wno-deprecated-declarations)
list(APPEND CUVS_CUDA_FLAGS -Xcompiler=-Wno-deprecated-declarations)
list(APPEND CUVS_CXX_FLAGS -Wno-deprecated-declarations -DRAFT_HIDE_DEPRECATION_WARNINGS)
list(APPEND CUVS_CUDA_FLAGS -Xcompiler=-Wno-deprecated-declarations -DRAFT_HIDE_DEPRECATION_WARNINGS)
endif()

# Be very strict when compiling with GCC as host compiler (and thus more lenient when compiling with
Expand Down

0 comments on commit 00755e7

Please sign in to comment.