Disable go bindings for sanitizer builds

This commit is contained in:
Andrew Noyes 2021-03-09 20:55:41 +00:00
parent fb8d021995
commit ccc8404faa
2 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,7 @@ set(go_options_file ${GO_DEST}/src/fdb/generated.go)
set(go_env GOPATH=${GOPATH}
C_INCLUDE_PATH=${CMAKE_BINARY_DIR}/bindings/c/foundationdb:${CMAKE_SOURCE_DIR}/bindings/c
CGO_LDFLAGS=-L${CMAKE_BINARY_DIR}/lib\ ${SANITIZER_LINK_OPTIONS})
CGO_LDFLAGS=-L${CMAKE_BINARY_DIR}/lib)
foreach(src_file IN LISTS SRCS)
set(dest_file ${GO_DEST}/${src_file})

View File

@ -97,6 +97,10 @@ if(GO_EXECUTABLE AND NOT WIN32)
else()
set(WITH_GO OFF)
endif()
if (USE_SANITIZER)
# Disable building go for sanitizers, since _stacktester doesn't link properly
set(WITH_GO OFF)
endif()
################################################################################
# Ruby