Skip to content

Commit

Permalink
cmake : fix subdir for LLAMA_METAL_EMBED_LIBRARY (ggml-org#5985)
Browse files Browse the repository at this point in the history
  • Loading branch information
giladgd authored and hodlen committed Apr 1, 2024
1 parent a8de432 commit 102395a
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 @@ -208,7 +208,7 @@ if (LLAMA_METAL)
enable_language(ASM)
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")
set(EMBED_METALLIB_ASSEMBLY "${CMAKE_BINARY_DIR}/autogenerated/ggml-embed-metallib.s")

Expand Down

0 comments on commit 102395a

Please sign in to comment.