-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
Description
Git commit
Operating systems
Mac
GGML backends
Metal
Problem description & steps to reproduce
Try to compile mtmd for ios.
All tools cannot be build because cmake install fails for ios, but mtmd seems to me the only useful tool for ios devices.
This could easily be fixed by applying:
if(NOT CMAKE_SYSTEM_NAME STREQUAL "iOS")
install(TARGETS ${TARGET} RUNTIME)
endif()
First Bad Commit
No response
Compile command
used with https://github.com/utilityai/llama-cpp-rs/Relevant log output
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
CMake Warning at ggml/src/ggml-cpu/CMakeLists.txt:79 (message):
OpenMP not found
Call Stack (most recent call first):
ggml/src/CMakeLists.txt:372 (ggml_add_cpu_backend_variant_impl)
clang: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
CMake Warning at common/CMakeLists.txt:32 (message):
Git repository not found; to enable automatic generation of build info,
make sure Git is installed and the project is a Git repository.
CMake Error at CMakeLists.txt:206 (add_subdirectory):
The source directory
/Users/lucakleinschmidt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/llama-cpp-sys-2-0.1.118/llama.cpp/tools
does not contain a CMakeLists.txt file.