From 1855e0820e7be73957bcef42a6774ee872e5753b Mon Sep 17 00:00:00 2001 From: George Date: Mon, 5 Jun 2023 17:54:57 +0800 Subject: [PATCH] removed jni files (moved them to caller android project) --- CMakeLists.txt | 1 - llama-jni.cpp | 12 ------------ 2 files changed, 13 deletions(-) delete mode 100644 llama-jni.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index e06046c40..ea9a160ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -443,7 +443,6 @@ add_library(llama llama.cpp llama.h llama-util.h - llama-jni.cpp ) target_include_directories(llama PUBLIC .) diff --git a/llama-jni.cpp b/llama-jni.cpp deleted file mode 100644 index 2066eefd9..000000000 --- a/llama-jni.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include "llama.h" - -// -// Created by gcpth on 05/06/2023. -// - -extern "C" -JNIEXPORT void JNICALL -Java_com_layla_LlamaCpp_llama_1init_1backend(JNIEnv *env, jclass clazz) { - llama_init_backend(); -}