[ci][gcc asan]test gcc asan in ubuntu20.04 (#648)
This commit is contained in:
parent
83c5dbf642
commit
b487b751a1
|
@ -35,11 +35,7 @@ option(CORO_RPC_USE_OTHER_RPC "coro_rpc extend to support other rpc" OFF)
|
|||
message(STATUS "CORO_RPC_USE_OTHER_RPC: ${CORO_RPC_USE_OTHER_RPC}")
|
||||
|
||||
# Enable address sanitizer
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
option(ENABLE_SANITIZER "Enable sanitizer(Debug+Gcc/Clang/AppleClang)" OFF)
|
||||
else()
|
||||
option(ENABLE_SANITIZER "Enable sanitizer(Debug+Gcc/Clang/AppleClang)" ON)
|
||||
endif()
|
||||
option(ENABLE_SANITIZER "Enable sanitizer(Debug+Gcc/Clang/AppleClang)" ON)
|
||||
|
||||
if(ENABLE_SANITIZER AND NOT MSVC)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
|
|
Loading…
Reference in New Issue