2019-05-08 14:49:53 +00:00
|
|
|
if (NOT SANITIZE AND NOT ARCH_ARM AND NOT ARCH_32 AND NOT ARCH_PPC64LE AND NOT OS_FREEBSD AND NOT APPLE)
|
2019-04-16 14:12:02 +00:00
|
|
|
option (ENABLE_LFALLOC "Set to FALSE to use system libgsasl library instead of bundled" ${NOT_UNBUNDLED})
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (ENABLE_LFALLOC)
|
2019-04-12 14:30:54 +00:00
|
|
|
set (USE_LFALLOC 1)
|
2019-04-13 14:45:01 +00:00
|
|
|
set (USE_LFALLOC_RANDOM_HINT 1)
|
2019-04-13 12:07:43 +00:00
|
|
|
set (LFALLOC_INCLUDE_DIR ${ClickHouse_SOURCE_DIR}/contrib/lfalloc/src)
|
|
|
|
message (STATUS "Using lfalloc=${USE_LFALLOC}: ${LFALLOC_INCLUDE_DIR}")
|
2019-04-12 14:10:42 +00:00
|
|
|
endif ()
|