aboutsummaryrefslogtreecommitdiff
path: root/misc/llama-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'misc/llama-cpp')
-rw-r--r--misc/llama-cpp/Makefile3
-rw-r--r--misc/llama-cpp/distinfo6
-rw-r--r--misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt20
-rw-r--r--misc/llama-cpp/pkg-plist1
4 files changed, 5 insertions, 25 deletions
diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile
index 463389d10d70..c9edf8ce40bf 100644
--- a/misc/llama-cpp/Makefile
+++ b/misc/llama-cpp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= llama-cpp
DISTVERSIONPREFIX= b
-DISTVERSION= 6374
+DISTVERSION= 6795
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
@@ -24,6 +24,7 @@ GH_TUPLE= nomic-ai:kompute:4565194:kompute/kompute
SHEBANG_GLOB= *.py
CMAKE_ON= BUILD_SHARED_LIBS
+ #LLAMA_USE_SYSTEM_GGML
CMAKE_OFF= GGML_NATIVE \
FREEBSD_ALLOW_ADVANCED_CPU_FEATURES \
LLAMA_BUILD_TESTS
diff --git a/misc/llama-cpp/distinfo b/misc/llama-cpp/distinfo
index ac00c83b7dba..fa0a53824637 100644
--- a/misc/llama-cpp/distinfo
+++ b/misc/llama-cpp/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1756957718
-SHA256 (ggerganov-llama.cpp-b6374_GH0.tar.gz) = fe4392f8331a13fcd6ccf5fa4a7e9a79d58958394ef62bf8df6d214208619ed5
-SIZE (ggerganov-llama.cpp-b6374_GH0.tar.gz) = 25632053
+TIMESTAMP = 1760833602
+SHA256 (ggerganov-llama.cpp-b6795_GH0.tar.gz) = b037e5ecc5876e8c01c6b0a3010103b43d4883c3b1bc93fa60f09a751f256133
+SIZE (ggerganov-llama.cpp-b6795_GH0.tar.gz) = 25970813
SHA256 (nomic-ai-kompute-4565194_GH0.tar.gz) = 95b52d2f0514c5201c7838348a9c3c9e60902ea3c6c9aa862193a212150b2bfc
SIZE (nomic-ai-kompute-4565194_GH0.tar.gz) = 13540496
diff --git a/misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt b/misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt
deleted file mode 100644
index 8135824e1b8b..000000000000
--- a/misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-- workaround for https://github.com/ggerganov/llama.cpp/issues/11095
-
---- ggml/src/CMakeLists.txt.orig 2025-01-06 00:37:35 UTC
-+++ ggml/src/CMakeLists.txt
-@@ -152,15 +152,6 @@ endif()
- # posix_memalign came in POSIX.1-2001 / SUSv3
- # M_PI is an XSI extension since POSIX.1-2001 / SUSv3, came in XPG1 (1985)
-
--# Somehow in OpenBSD whenever POSIX conformance is specified
--# some string functions rely on locale_t availability,
--# which was introduced in POSIX.1-2008, forcing us to go higher
--if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
-- add_compile_definitions(_XOPEN_SOURCE=700)
--else()
-- add_compile_definitions(_XOPEN_SOURCE=600)
--endif()
--
- # Data types, macros and functions related to controlling CPU affinity and
- # some memory allocation are available on Linux through GNU extensions in libc
- if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Android")
diff --git a/misc/llama-cpp/pkg-plist b/misc/llama-cpp/pkg-plist
index 9c53359aabc9..678dd2ed6420 100644
--- a/misc/llama-cpp/pkg-plist
+++ b/misc/llama-cpp/pkg-plist
@@ -14,7 +14,6 @@ bin/convert_hf_to_gguf.py
%%EXAMPLES%%bin/llama-gguf
%%EXAMPLES%%bin/llama-gguf-hash
%%EXAMPLES%%bin/llama-gguf-split
-%%EXAMPLES%%bin/llama-gritlm
%%EXAMPLES%%bin/llama-imatrix
%%EXAMPLES%%bin/llama-logits
%%EXAMPLES%%bin/llama-lookahead