Change the compiler option for ARM.
This commit is contained in:
parent
0ce95b55ec
commit
13278d3fef
|
@ -66,6 +66,9 @@ if(WIN32)
|
|||
set(OS_WINDOWS 1)
|
||||
endif()
|
||||
|
||||
#load architecture config file (OPTIONAL)
|
||||
include("${PROJECT_SOURCE_DIR}/config/${OpenVML_ARCH}.cmake" OPTIONAL)
|
||||
|
||||
configure_file (
|
||||
"${PROJECT_SOURCE_DIR}/include/openvml_config.h.in"
|
||||
"${PROJECT_BINARY_DIR}/include/openvml_config.h"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#Use hard float-abi and ARMV7-A
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=hard")
|
||||
|
||||
#ARMV7-A
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv7-a")
|
|
@ -1 +1,5 @@
|
|||
include(${OpenVML_ARCH}/Kernel_generic.txt)
|
||||
|
||||
set(OpenVML_KERNEL_COMPILE_FLAGS -mtune=cortex-a15)
|
||||
|
||||
#set(exp_S_KERNEL_SOURCE ${OpenVML_ARCH}/sexp_kernel_neon.c)
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
include(${OpenVML_ARCH}/Kernel_generic.txt)
|
||||
|
||||
set(OpenVML_KERNEL_COMPILE_FLAGS -mtune=cortex-a9)
|
||||
|
||||
|
|
Loading…
Reference in New Issue