misc(backend): remove leak sanitizer which is included in asan

This commit is contained in:
Morgan Funtowicz 2024-12-20 09:40:45 +01:00
parent 12e2c73af3
commit 76f23d5534

View File

@ -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")