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 f7decc9 commit 740f3f3Copy full SHA for 740f3f3
CMakeLists.txt
@@ -17,6 +17,11 @@ if (LLAMA_BUILD)
17
set(LLAMA_FMA "Off" CACHE BOOL "llama: enable FMA" FORCE)
18
set(LLAMA_F16C "Off" CACHE BOOL "llama: enable F16C" FORCE)
19
endif()
20
+
21
+ if (APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES "arm64")
22
+ set(LLAMA_METAL_EMBED_LIBRARY "On" CACHE BOOL "llama: embed metal library" FORCE)
23
+ endif()
24
25
add_subdirectory(vendor/llama.cpp)
26
install(
27
TARGETS llama
0 commit comments