Skip to content

Commit 010a501

Browse files
committed
Add tune
1 parent f93fb30 commit 010a501

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ project(llama_cpp)
55
option(BUILD_LLAMA_CPP "Build llama.cpp shared library and install alongside python package" ON)
66

77
if (APPLE)
8-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native")
9-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
8+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mtune=native")
9+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -mtune=native")
1010
endif()
1111

1212
if (BUILD_LLAMA_CPP)

0 commit comments

Comments
 (0)