mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
cmake: fix backwards LLAMA_KOMPUTE default
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
fc7e5f4a09
commit
e60b388a2e
@ -38,6 +38,12 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
set(LLAMA_KOMPUTE_DEFAULT OFF)
|
||||||
|
else()
|
||||||
|
set(LLAMA_KOMPUTE_DEFAULT ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Option list
|
# Option list
|
||||||
@ -71,12 +77,6 @@ option(LLAMA_SANITIZE_UNDEFINED "llama: enable undefined sanitizer"
|
|||||||
# option(LLAMA_F16C "llama: enable F16C" ON)
|
# option(LLAMA_F16C "llama: enable F16C" ON)
|
||||||
#endif()
|
#endif()
|
||||||
|
|
||||||
if (APPLE)
|
|
||||||
set(LLAMA_KOMPUTE_DEFAULT ON)
|
|
||||||
else()
|
|
||||||
set(LLAMA_KOMPUTE_DEFAULT OFF)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# 3rd party libs
|
# 3rd party libs
|
||||||
option(LLAMA_ACCELERATE "llama: enable Accelerate framework" ON)
|
option(LLAMA_ACCELERATE "llama: enable Accelerate framework" ON)
|
||||||
option(LLAMA_OPENBLAS "llama: use OpenBLAS" OFF)
|
option(LLAMA_OPENBLAS "llama: use OpenBLAS" OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user