Skip to content

Commit

Permalink
hide RAFT #pragma deprecation warnings (rapidsai#114)
Browse files Browse the repository at this point in the history
Define `-DRAFT_HIDE_DEPRECATION_WARNINGS` added in rapidsai#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
trxcllnt authored May 23, 2024
1 parent b757c19 commit ac85fa6
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 ac85fa6

Please sign in to comment.