File tree 4 files changed +15
-0
lines changed
4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ if(WIN32)
66
66
set (OS_WINDOWS 1)
67
67
endif ()
68
68
69
+ #load architecture config file (OPTIONAL)
70
+ include ("${PROJECT_SOURCE_DIR} /config/${OpenVML_ARCH} .cmake" OPTIONAL )
71
+
69
72
configure_file (
70
73
"${PROJECT_SOURCE_DIR} /include/openvml_config.h.in"
71
74
"${PROJECT_BINARY_DIR} /include/openvml_config.h"
Original file line number Diff line number Diff line change
1
+ #Use hard float-abi and ARMV7-A
2
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=hard" )
3
+
4
+ #ARMV7-A
5
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv7-a" )
Original file line number Diff line number Diff line change 1
1
include(${OpenVML_ARCH}/Kernel_generic.txt)
2
+
3
+ set(OpenVML_KERNEL_COMPILE_FLAGS -mtune=cortex-a15)
4
+
5
+ #set(exp_S_KERNEL_SOURCE ${OpenVML_ARCH}/sexp_kernel_neon.c)
Original file line number Diff line number Diff line change 1
1
include(${OpenVML_ARCH}/Kernel_generic.txt)
2
+
3
+ set(OpenVML_KERNEL_COMPILE_FLAGS -mtune=cortex-a9)
4
+
You can’t perform that action at this time.
0 commit comments