mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
Update llama.cpp and shared library build process
This commit is contained in:
@@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 3.4...3.22)
|
||||
|
||||
project(llama_cpp)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
|
||||
set(LLAMA_STATIC "Off")
|
||||
set(BUILD_SHARED_LIBS "On")
|
||||
|
||||
add_subdirectory(vendor/llama.cpp)
|
||||
|
||||
Reference in New Issue
Block a user