Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 010a501

Browse filesBrowse files
committed
Add tune
1 parent f93fb30 commit 010a501
Copy full SHA for 010a501

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎CMakeLists.txt

Copy file name to clipboardExpand all lines: CMakeLists.txt
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.