mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-07-21 10:15:35 +00:00
Add forgotten check
This commit is contained in:
@@ -1102,7 +1102,9 @@ if (CMAKE_OSX_ARCHITECTURES STREQUAL "arm64" OR
|
||||
endif()
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||
# else we fail on Gravitons and such
|
||||
list(APPEND ARCH_FLAGS -march=native)
|
||||
if (GGML_NATIVE)
|
||||
list(APPEND ARCH_FLAGS -march=native)
|
||||
endif()
|
||||
list(APPEND ARCH_FLAGS -flax-vector-conversions)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user