8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3df16 commit 4cb0e35Copy full SHA for 4cb0e35
CMakeLists.txt
@@ -8,10 +8,10 @@ option(LLAMA_BUILD "Build llama.cpp shared library and install alongside python
8
if (LLAMA_BUILD)
9
set(BUILD_SHARED_LIBS "On")
10
if (APPLE)
11
- set(LLAMA_AVX OFF)
12
- set(LLAMA_AVX2 OFF)
13
- set(LLAMA_FMA OFF)
14
- set(LLAMA_F16C OFF)
+ set(LLAMA_AVX "Off")
+ set(LLAMA_AVX2 "Off")
+ set(LLAMA_FMA "Off")
+ set(LLAMA_F16C "Off")
15
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mtune=native")
16
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -mtune=native")
17
endif()
0 commit comments