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 685a929 commit f93fb30Copy full SHA for f93fb30
CMakeLists.txt
@@ -4,6 +4,10 @@ project(llama_cpp)
4
5
option(BUILD_LLAMA_CPP "Build llama.cpp shared library and install alongside python package" ON)
6
7
+if (APPLE)
8
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native")
9
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
10
+endif()
11
12
if (BUILD_LLAMA_CPP)
13
set(BUILD_SHARED_LIBS "On")
0 commit comments