fix: OSX Build Files for llama.cpp (#1836)

bot ate my changes, seperate branch
This commit is contained in:
Dave 2024-03-14 18:07:47 -04:00 committed by GitHub
parent 3882130911
commit 45d520f913
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -18,6 +18,9 @@ else ifeq ($(BUILD_TYPE),clblas)
# If it's hipblas we do have also to set CC=/opt/rocm/llvm/bin/clang CXX=/opt/rocm/llvm/bin/clang++
else ifeq ($(BUILD_TYPE),hipblas)
CMAKE_ARGS+=-DLLAMA_HIPBLAS=ON
# If it's OSX, embed the metal library for fewer moving parts.
else ifeq ($(BUILD_TYPE),metal)
CMAKE_ARGS+=-DLLAMA_METAL_EMBED_LIBRARY=ON
endif
ifeq ($(BUILD_TYPE),sycl_f16)