From f0594353e2525edc4b81025c2b0c2b9829bc7cf2 Mon Sep 17 00:00:00 2001
From: Misha Chornyi <99709299+mc-nv@users.noreply.github.com>
Date: Tue, 12 Nov 2024 13:15:30 -0800
Subject: [PATCH] Build Updates for Ubuntu24.04 (#386) (#387)

* skip warning errors

* Revert "skip warning errors"

This reverts commit 071c052dd876820776c27a792271ba4100a4ce8a.

* Reapply "skip warning errors"

This reverts commit a088c296484ee4a4dae60cde70111b4225524258.

Co-authored-by: Anant Sharma <anants@nvidia.com>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cc94b3aa..0dc70f0d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -267,7 +267,7 @@ target_compile_features(triton-python-backend PRIVATE cxx_std_${TRITON_MIN_CXX_S
 target_compile_options(
   triton-python-backend PRIVATE
   $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
-    -Wall -Wextra -Wno-unused-parameter -Wno-type-limits -Werror>
+    -Wall -Wextra -Wno-unused-parameter -Wno-type-limits>
   $<$<CXX_COMPILER_ID:MSVC>:/Wall /D_WIN32_WINNT=0x0A00 /EHsc /Zc:preprocessor>
 )