summarylogtreecommitdiffstats
path: root/cuda-flags.patch
blob: 31d0d892f72c72b96ac54732b30535102b5aa807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- cpp/cmake/Modules/ConfigureCUDA.cmake	2025-06-06 01:31:26.000000000 +0800
+++ cpp/cmake/Modules/ConfigureCUDA.cmake.new	2025-06-22 15:19:30.130747618 +0800
@@ -13,7 +13,7 @@
 # =============================================================================
 
 if(CMAKE_COMPILER_IS_GNUCXX)
-  list(APPEND CUDF_CXX_FLAGS -Wall -Werror -Wno-unknown-pragmas -Wno-error=deprecated-declarations)
+  list(APPEND CUDF_CXX_FLAGS -Wno-unknown-pragmas -Wno-error=deprecated-declarations)
 endif()
 
 list(APPEND CUDF_CUDA_FLAGS --expt-extended-lambda --expt-relaxed-constexpr)
@@ -24,7 +24,7 @@
 else()
   list(APPEND CUDF_CUDA_FLAGS -Werror=cross-execution-space-call)
 endif()
-list(APPEND CUDF_CUDA_FLAGS -Xcompiler=-Wall,-Werror,-Wno-error=deprecated-declarations)
+list(APPEND CUDF_CUDA_FLAGS -Xcompiler=-Wno-error=deprecated-declarations)
 # This warning needs to be suppressed because some parts of cudf instantiate templated CCCL
 # functions in contexts where the resulting instantiations would have internal linkage (e.g. in
 # anonymous namespaces). In such contexts, the visibility attribute on the template is ignored, and