From 071c052dd876820776c27a792271ba4100a4ce8a Mon Sep 17 00:00:00 2001 From: Anant Sharma Date: Mon, 21 Oct 2024 11:20:53 -0700 Subject: [PATCH 1/3] skip warning errors --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee209b5b..80ad8e8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -255,7 +255,7 @@ target_compile_features(triton-python-backend PRIVATE cxx_std_${TRITON_MIN_CXX_S target_compile_options( triton-python-backend PRIVATE $<$,$,$>: - -Wall -Wextra -Wno-unused-parameter -Wno-type-limits -Werror> + -Wall -Wextra -Wno-unused-parameter -Wno-type-limits> $<$:/Wall /D_WIN32_WINNT=0x0A00 /EHsc /Zc:preprocessor> ) From a088c296484ee4a4dae60cde70111b4225524258 Mon Sep 17 00:00:00 2001 From: Anant Sharma Date: Tue, 29 Oct 2024 11:40:31 -0700 Subject: [PATCH 2/3] Revert "skip warning errors" This reverts commit 071c052dd876820776c27a792271ba4100a4ce8a. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80ad8e8c..ee209b5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -255,7 +255,7 @@ target_compile_features(triton-python-backend PRIVATE cxx_std_${TRITON_MIN_CXX_S target_compile_options( triton-python-backend PRIVATE $<$,$,$>: - -Wall -Wextra -Wno-unused-parameter -Wno-type-limits> + -Wall -Wextra -Wno-unused-parameter -Wno-type-limits -Werror> $<$:/Wall /D_WIN32_WINNT=0x0A00 /EHsc /Zc:preprocessor> ) From 7efd40d28db7c1bd26736b19e476877639e6603e Mon Sep 17 00:00:00 2001 From: Anant Sharma Date: Tue, 29 Oct 2024 14:32:43 -0700 Subject: [PATCH 3/3] Reapply "skip warning errors" This reverts commit a088c296484ee4a4dae60cde70111b4225524258. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee209b5b..80ad8e8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -255,7 +255,7 @@ target_compile_features(triton-python-backend PRIVATE cxx_std_${TRITON_MIN_CXX_S target_compile_options( triton-python-backend PRIVATE $<$,$,$>: - -Wall -Wextra -Wno-unused-parameter -Wno-type-limits -Werror> + -Wall -Wextra -Wno-unused-parameter -Wno-type-limits> $<$:/Wall /D_WIN32_WINNT=0x0A00 /EHsc /Zc:preprocessor> )