From 02760f8fa77d60eecf412e5a74c612d2f0c90fd7 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Thu, 23 Mar 2023 17:01:06 -0400 Subject: [PATCH] Update llama.cpp and shared library build process --- CMakeLists.txt | 3 --- vendor/llama.cpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f7a9fe..40d8f28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/vendor/llama.cpp b/vendor/llama.cpp index 93208cf..404e1da 160000 --- a/vendor/llama.cpp +++ b/vendor/llama.cpp @@ -1 +1 @@ -Subproject commit 93208cfb929c2323e5d2ac6bf354e278040e70ed +Subproject commit 404e1da38ec8025707031a8027da14dc1590f952