Add ability to manually set arch flags (#347)

Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
This commit is contained in:
Kawrakow
2025-04-25 13:24:18 +02:00
committed by GitHub
parent 542351d088
commit fb98619852

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