1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-22 06:40:01 +08:00

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

@ -43,7 +43,7 @@ set(go_options_file ${GO_DEST}/src/fdb/generated.go)
set(go_env GOPATH=${GOPATH} set(go_env GOPATH=${GOPATH}
C_INCLUDE_PATH=${CMAKE_BINARY_DIR}/bindings/c/foundationdb:${CMAKE_SOURCE_DIR}/bindings/c 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) foreach(src_file IN LISTS SRCS)
set(dest_file ${GO_DEST}/${src_file}) set(dest_file ${GO_DEST}/${src_file})

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