From da2f87e7898c22112b407f1b38ea666e6262c738 Mon Sep 17 00:00:00 2001 From: divyegala Date: Wed, 15 Jan 2025 10:42:13 -0800 Subject: [PATCH] add link to issue for workaround --- cpp/CMakeLists.txt | 2 ++ cpp/test/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index f02450ac0a..0500ccc5ed 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -421,6 +421,8 @@ if(BUILD_CUML_CPP_LIBRARY) src/hdbscan/condensed_hierarchy.cu src/hdbscan/prediction_data.cu) + # When using GCC 13, some maybe-uninitialized warnings appear from CCCL and are treated as errors. + # See this issue: https://github.com/rapidsai/cuml/issues/6225 set_property( SOURCE src/hdbscan/condensed_hierarchy.cu APPEND_STRING diff --git a/cpp/test/CMakeLists.txt b/cpp/test/CMakeLists.txt index 28cca7baac..38a1851cf3 100644 --- a/cpp/test/CMakeLists.txt +++ b/cpp/test/CMakeLists.txt @@ -149,6 +149,8 @@ if("${CMAKE_CUDA_COMPILER_VERSION}" VERSION_GREATER_EQUAL "11.2") # An HDBSCAN gtest is failing w/ CUDA 11.2 for some reason. if(all_algo OR hdbscan_algo) ConfigureTest(PREFIX SG NAME HDBSCAN_TEST sg/hdbscan_test.cu ML_INCLUDE) + # When using GCC 13, some maybe-uninitialized warnings appear from CCCL and are treated as errors. + # See this issue: https://github.com/rapidsai/cuml/issues/6225 set_property( SOURCE sg/hdbscan_test.cu APPEND_STRING