From 76f23d55342fbf13287e2d1ceffe52250a13f66f Mon Sep 17 00:00:00 2001 From: Morgan Funtowicz Date: Fri, 20 Dec 2024 09:40:45 +0100 Subject: [PATCH] misc(backend): remove leak sanitizer which is included in asan --- backends/trtllm/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backends/trtllm/CMakeLists.txt b/backends/trtllm/CMakeLists.txt index 55c61f5b..8520c097 100644 --- a/backends/trtllm/CMakeLists.txt +++ b/backends/trtllm/CMakeLists.txt @@ -87,7 +87,6 @@ if (${TGI_TRTLLM_BACKEND_BUILD_TESTS}) message(STATUS "Building tests") option(TGI_TRTLLM_BACKEND_ENABLE_ASAN "Enable AddressSanitizer") option(TGI_TRTLLM_BACKEND_ENABLE_UBSAN "Enable UndefinedSanitizer") - option(TGI_TRTLLM_BACKEND_ENABLE_MSAN "Enable MemorySanitizer") FetchContent_Declare( Catch2 @@ -125,11 +124,6 @@ if (${TGI_TRTLLM_BACKEND_BUILD_TESTS}) message(STATUS "Enabled UndefinedSanitizer") target_link_options(tgi_trtllm_backend_tests BEFORE PUBLIC -fsanitize=undefined) endif () - - if (${TGI_TRTLLM_BACKEND_ENABLE_MSAN}) - message(STATUS "Enabled MemorySanitizer") - target_link_options(tgi_trtllm_backend_tests BEFORE PUBLIC -fsanitize=memory) - endif () endif () if(CMAKE_BUILD_TYPE MATCHES "Debug")