mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-13 14:29:52 +00:00
cmake : fix subdir for LLAMA_METAL_EMBED_LIBRARY
(#5985)
This commit is contained in:
parent
ee35600b90
commit
ecab1c75de
@ -208,7 +208,7 @@ if (LLAMA_METAL)
|
|||||||
enable_language(ASM)
|
enable_language(ASM)
|
||||||
add_compile_definitions(GGML_METAL_EMBED_LIBRARY)
|
add_compile_definitions(GGML_METAL_EMBED_LIBRARY)
|
||||||
|
|
||||||
set(METALLIB_SOURCE "${CMAKE_SOURCE_DIR}/ggml-metal.metal")
|
set(METALLIB_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/ggml-metal.metal")
|
||||||
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/autogenerated")
|
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/autogenerated")
|
||||||
set(EMBED_METALLIB_ASSEMBLY "${CMAKE_BINARY_DIR}/autogenerated/ggml-embed-metallib.s")
|
set(EMBED_METALLIB_ASSEMBLY "${CMAKE_BINARY_DIR}/autogenerated/ggml-embed-metallib.s")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user