File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ if (LLAMA_BUILD)
59
59
if (APPLE AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm64" )
60
60
# Need to disable these llama.cpp flags on Apple x86_64,
61
61
# otherwise users may encounter invalid instruction errors
62
- set (LLAMA_AVX "Off" CACHE BOOL "llama : enable AVX" FORCE)
63
- set (LLAMA_AVX2 "Off" CACHE BOOL "llama : enable AVX2" FORCE)
64
- set (LLAMA_FMA "Off" CACHE BOOL "llama : enable FMA" FORCE)
65
- set (LLAMA_F16C "Off" CACHE BOOL "llama : enable F16C" FORCE)
62
+ set (GGML_AVX "Off" CACHE BOOL "ggml : enable AVX" FORCE)
63
+ set (GGML_AVX2 "Off" CACHE BOOL "ggml : enable AVX2" FORCE)
64
+ set (GGML_FMA "Off" CACHE BOOL "gml : enable FMA" FORCE)
65
+ set (GGML_F16C "Off" CACHE BOOL "gml : enable F16C" FORCE)
66
66
endif ()
67
67
68
68
if (APPLE )
69
- set (LLAMA_METAL_EMBED_LIBRARY "On" CACHE BOOL "llama: embed metal library" FORCE)
69
+ set (GGML_METAL_EMBED_LIBRARY "On" CACHE BOOL "llama: embed metal library" FORCE)
70
70
endif ()
71
71
72
72
add_subdirectory (vendor/llama.cpp)
@@ -122,4 +122,4 @@ if (LLAMA_BUILD)
122
122
)
123
123
endif ()
124
124
endif ()
125
- endif ()
125
+ endif ()
You can’t perform that action at this time.
0 commit comments