string options
This commit is contained in:
parent
2c3df160fb
commit
4cb0e35b64
1 changed files with 4 additions and 4 deletions
|
@ -8,10 +8,10 @@ option(LLAMA_BUILD "Build llama.cpp shared library and install alongside python
|
|||
if (LLAMA_BUILD)
|
||||
set(BUILD_SHARED_LIBS "On")
|
||||
if (APPLE)
|
||||
set(LLAMA_AVX OFF)
|
||||
set(LLAMA_AVX2 OFF)
|
||||
set(LLAMA_FMA OFF)
|
||||
set(LLAMA_F16C OFF)
|
||||
set(LLAMA_AVX "Off")
|
||||
set(LLAMA_AVX2 "Off")
|
||||
set(LLAMA_FMA "Off")
|
||||
set(LLAMA_F16C "Off")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mtune=native")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -mtune=native")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue