summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKawrakow <iwankawrakow@gmail.com>2025-04-25 13:24:18 +0200
committerGitHub <noreply@github.com>2025-04-25 13:24:18 +0200
commitc817160d0395ddbc2ad79d3c0ce52a4da63ac81d (patch)
tree55bb994d51095dacf44ed13a7a9542ea36fc0dc4
parent25d1a0dca87e8d0237471e6d426a971e1d5289a2 (diff)
Add ability to manually set arch flags (#347)
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
-rw-r--r--ggml/src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml/src/CMakeLists.txt b/ggml/src/CMakeLists.txt
index 0aa08adf..17a9e2eb 100644
--- a/ggml/src/CMakeLists.txt
+++ b/ggml/src/CMakeLists.txt
@@ -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