Add ability to manually set arch flags

This commit is contained in:
Iwan Kawrakow
2025-04-25 11:41:49 +02:00
parent 25d1a0dca8
commit d641a5fef3

View File

@@ -1086,7 +1086,7 @@ if (NOT MSVC)
endif()
endif()
set(ARCH_FLAGS "")
set(ARCH_FLAGS ${GGML_ARCH_FLAGS})
if (CMAKE_OSX_ARCHITECTURES STREQUAL "arm64" OR
CMAKE_GENERATOR_PLATFORM_LWR STREQUAL "arm64" OR