mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
enable FastMemcpy properly
This commit is contained in:
parent
078f7075ba
commit
6e23901227
@ -369,6 +369,12 @@ endif ()
|
|||||||
|
|
||||||
include(cmake/dbms_glob_sources.cmake)
|
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)
|
if (OS_LINUX OR OS_ANDROID)
|
||||||
include(cmake/linux/default_libs.cmake)
|
include(cmake/linux/default_libs.cmake)
|
||||||
elseif (OS_DARWIN)
|
elseif (OS_DARWIN)
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
if (GLIBC_COMPATIBILITY)
|
if (GLIBC_COMPATIBILITY)
|
||||||
set (ENABLE_FASTMEMCPY ON)
|
|
||||||
|
|
||||||
enable_language(ASM)
|
enable_language(ASM)
|
||||||
include(CheckIncludeFile)
|
include(CheckIncludeFile)
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
option (ENABLE_FASTMEMCPY "Enable FastMemcpy library (only internal)" ${ENABLE_LIBRARIES})
|
|
||||||
|
|
||||||
if (NOT OS_LINUX OR ARCH_AARCH64)
|
if (NOT OS_LINUX OR ARCH_AARCH64)
|
||||||
set (ENABLE_FASTMEMCPY OFF)
|
set (ENABLE_FASTMEMCPY OFF)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user