mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
parent
6e23901227
commit
38e50d1078
@ -369,12 +369,6 @@ endif ()
|
||||
|
||||
include(cmake/dbms_glob_sources.cmake)
|
||||
|
||||
if (${ENABLE_LIBRARIES} OR ${GLIBC_COMPATIBILITY})
|
||||
option (ENABLE_FASTMEMCPY "Enable FastMemcpy library (only internal)" ON)
|
||||
else ()
|
||||
option (ENABLE_FASTMEMCPY "Enable FastMemcpy library (only internal)" OFF)
|
||||
endif ()
|
||||
|
||||
if (OS_LINUX OR OS_ANDROID)
|
||||
include(cmake/linux/default_libs.cmake)
|
||||
elseif (OS_DARWIN)
|
||||
|
@ -1,4 +1,6 @@
|
||||
if (GLIBC_COMPATIBILITY)
|
||||
set (ENABLE_FASTMEMCPY ON)
|
||||
|
||||
enable_language(ASM)
|
||||
include(CheckIncludeFile)
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
option (ENABLE_FASTMEMCPY "Enable FastMemcpy library (only internal)" ${ENABLE_LIBRARIES})
|
||||
|
||||
if (NOT OS_LINUX OR ARCH_AARCH64)
|
||||
set (ENABLE_FASTMEMCPY OFF)
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user