From 4aae931f946e6a86f558de1abf2cd87fcc80acfd Mon Sep 17 00:00:00 2001 From: Morgan Funtowicz Date: Thu, 19 Dec 2024 11:46:33 +0100 Subject: [PATCH] misc(backend): disable Werror for now --- backends/trtllm/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/trtllm/CMakeLists.txt b/backends/trtllm/CMakeLists.txt index fdfedd59..ad53cb75 100644 --- a/backends/trtllm/CMakeLists.txt +++ b/backends/trtllm/CMakeLists.txt @@ -95,7 +95,7 @@ if (${TGI_TRTLLM_BACKEND_BUILD_TESTS}) check_cxx_compiler_flag("-Wnrvo" COMPILER_SUPPORT_WARNING_ON_NVRO) if (${COMPILER_SUPPORT_WARNING_ON_NVRO}) message(STATUS "Enabling non-NVRO detection") - target_compile_options(tgi_trtllm_backend_impl "-Werror -Wnvro") + target_compile_options(tgi_trtllm_backend_impl "-Wnvro") endif () cmake_path(GET TRTLLM_NVRTC_WRAPPER_LIBRARY_PATH PARENT_PATH TRTLLM_NVRTC_WRAPPER_PARENT_LIBRARY_PATH) @@ -103,7 +103,7 @@ if (${TGI_TRTLLM_BACKEND_BUILD_TESTS}) add_executable(tgi_trtllm_backend_tests tests/test_hardware.cpp tests/test_backend.cpp) - target_compile_options(tgi_trtllm_backend_tests PRIVATE -Werror) + # target_compile_options(tgi_trtllm_backend_tests PRIVATE -Werror) target_link_directories(tgi_trtllm_backend_tests PRIVATE "${TRTLLM_NVRTC_WRAPPER_PARENT_LIBRARY_PATH}") target_include_directories(tgi_trtllm_backend_tests PUBLIC "${trtllm_SOURCE_DIR}/cpp/include") target_include_directories(tgi_trtllm_backend_tests PUBLIC "csrc/")