commit: 1b3ace659df434818b1aeeda7f2f70f3e07f9ea9
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sat May 17 12:57:10 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Sat May 17 12:57:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b3ace65
sci-misc/llama-cpp: enable rpc
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild | 6 ++++++
sci-misc/llama-cpp/llama-cpp-9999.ebuild | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
b/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
index b4db64b49..eb94fdfb0 100644
--- a/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-0_pre5332.ebuild
@@ -66,6 +66,7 @@ src_configure() {
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
-DGGML_NATIVE=0 # don't set march
+ -DGGML_RPC=ON
-DLLAMA_CURL=$(usex curl ON OFF)
-DBUILD_NUMBER="1"
)
@@ -91,3 +92,8 @@ src_configure() {
cmake_src_configure
}
+
+src_install() {
+ cmake_src_install
+ dobin "${BUILD_DIR}/bin/rpc-server"
+}
diff --git a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
index b4db64b49..eb94fdfb0 100644
--- a/sci-misc/llama-cpp/llama-cpp-9999.ebuild
+++ b/sci-misc/llama-cpp/llama-cpp-9999.ebuild
@@ -66,6 +66,7 @@ src_configure() {
-DLLAMA_BUILD_SERVER=ON
-DCMAKE_SKIP_BUILD_RPATH=ON
-DGGML_NATIVE=0 # don't set march
+ -DGGML_RPC=ON
-DLLAMA_CURL=$(usex curl ON OFF)
-DBUILD_NUMBER="1"
)
@@ -91,3 +92,8 @@ src_configure() {
cmake_src_configure
}
+
+src_install() {
+ cmake_src_install
+ dobin "${BUILD_DIR}/bin/rpc-server"
+}