We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31bde88 commit d4f4bfcCopy full SHA for d4f4bfc
CMakeLists.txt
@@ -14,7 +14,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android")
14
#set(OPT_FLAG " -O3 -march=armv8.7-a -mcpu=cortex-x1 -mtune=cortex-x1 -ffp-model=fast -fno-finite-math-only")
15
16
# this set of flag is more general (without the cortex cpu optimisation, which is only available on very very modern archs)
17
- set(OPT_FLAG " -O3 -ffp-model=fast -fno-finite-math-only")
+ set(OPT_FLAG " -O3 -flto -D_GNU_SOURCE -fvectorize -ffp-model=fast -fno-finite-math-only")
18
19
message("OPT_FLAG:${OPT_FLAG}")
20
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DGGML_USE_HEXAGON ${DEBUG_FLAG} ${OPT_FLAG}")
0 commit comments