mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Fux build on arm/clang
This commit is contained in:
parent
af31ff24b9
commit
b2ab8b4ba7
@ -127,7 +127,10 @@ endif ()
|
|||||||
|
|
||||||
include (cmake/test_cpu.cmake)
|
include (cmake/test_cpu.cmake)
|
||||||
|
|
||||||
|
if(NOT COMPILER_CLANG) # clang: error: the clang compiler does not support '-march=native'
|
||||||
option(ARCH_NATIVE "Enable -march=native compiler flag" ${ARCH_ARM})
|
option(ARCH_NATIVE "Enable -march=native compiler flag" ${ARCH_ARM})
|
||||||
|
endif()
|
||||||
|
|
||||||
if (ARCH_NATIVE)
|
if (ARCH_NATIVE)
|
||||||
set (COMPILER_FLAGS "${COMPILER_FLAGS} -march=native")
|
set (COMPILER_FLAGS "${COMPILER_FLAGS} -march=native")
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user