Skip to content

Commit

Permalink
fix: Always embed metal library. Closes #1332
Browse files Browse the repository at this point in the history
  • Loading branch information
abetlen committed Apr 6, 2024
1 parent f4092e6 commit b3bfea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (LLAMA_BUILD)
set(LLAMA_F16C "Off" CACHE BOOL "llama: enable F16C" FORCE)
endif()

if (APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES "arm64")
if (APPLE)
set(LLAMA_METAL_EMBED_LIBRARY "On" CACHE BOOL "llama: embed metal library" FORCE)
endif()

Expand Down

0 comments on commit b3bfea6

Please sign in to comment.