mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
13 lines
524 B
CMake
13 lines
524 B
CMake
|
if (1)
|
||
|
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/lfalloc/src/lf_allocX64.h")
|
||
|
message (FATAL_ERROR "submodule contrib/lfalloc is missing. to fix try run: \n git submodule update --init --recursive")
|
||
|
endif()
|
||
|
if (NOT SANITIZE)
|
||
|
set (USE_LFALLOC 1)
|
||
|
set (LFALLOC_LIBRARIES "lfalloc")
|
||
|
else ()
|
||
|
#if (SANITIZE OR ARCH_ARM OR ARCH_32 OR ARCH_PPC64LE)
|
||
|
# message (FATAL_ERROR "lfalloc cannot be used with sanitizers or other platforms than X86_64")
|
||
|
endif ()
|
||
|
endif ()
|