From 2ccdb37641b38085cdebe9195d259669bf27afd1 Mon Sep 17 00:00:00 2001 From: Misha Chornyi <99709299+mc-nv@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:17:53 -0800 Subject: [PATCH] Enable support for Ubuntu 24.04 (#106) * Build Updates for Ubuntu24.04 (#105) * skip warning errors * skip warning errors * Change compiler options * Change compiler options --------- Co-authored-by: Anant Sharma --- CMakeLists.txt | 2 +- examples/backends/bls/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a4b79ff..ca94320 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,7 +153,7 @@ target_compile_options( triton-backend-utils PRIVATE $<$,$,$>: - -Wall -Wextra -Wno-unused-parameter -Werror> + -Wall -Wextra -Wno-unused-parameter> $<$:/Wall /D_WIN32_WINNT=0x0A00 /EHsc /Zc:preprocessor> ) diff --git a/examples/backends/bls/CMakeLists.txt b/examples/backends/bls/CMakeLists.txt index 2b1f1a0..b9e031c 100644 --- a/examples/backends/bls/CMakeLists.txt +++ b/examples/backends/bls/CMakeLists.txt @@ -110,7 +110,7 @@ target_compile_features(triton-bls-backend PRIVATE cxx_std_${TRITON_MIN_CXX_STAN target_compile_options( triton-bls-backend PRIVATE $<$,$,$>: - -Wall -Wextra -Wno-unused-parameter -Werror> + -Wall -Wextra -Wno-unused-parameter -Wno-error=maybe-uninitialized> ) target_link_libraries(