diff options
Diffstat (limited to 'misc/llama-cpp')
| -rw-r--r-- | misc/llama-cpp/Makefile | 4 | ||||
| -rw-r--r-- | misc/llama-cpp/distinfo | 6 | ||||
| -rw-r--r-- | misc/llama-cpp/files/llama-server.in | 4 | ||||
| -rw-r--r-- | misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt | 20 | ||||
| -rw-r--r-- | misc/llama-cpp/pkg-plist | 4 |
5 files changed, 9 insertions, 29 deletions
diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile index 87e3171ba2ec..0718e5978f14 100644 --- a/misc/llama-cpp/Makefile +++ b/misc/llama-cpp/Makefile @@ -1,6 +1,6 @@ PORTNAME= llama-cpp DISTVERSIONPREFIX= b -DISTVERSION= 6191 +DISTVERSION= 6922 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 @@ -44,7 +45,6 @@ CURL_LIB_DEPENDS= libcurl.so:ftp/curl EXAMPLES_CMAKE_BOOL= LLAMA_BUILD_EXAMPLES -VULKAN_DESC= Vulkan GPU offload support VULKAN_CMAKE_BOOL= GGML_VULKAN VULKAN_BUILD_DEPENDS= glslc:graphics/shaderc \ vulkan-headers>0:graphics/vulkan-headers diff --git a/misc/llama-cpp/distinfo b/misc/llama-cpp/distinfo index 030f93f29340..777ad2a10756 100644 --- a/misc/llama-cpp/distinfo +++ b/misc/llama-cpp/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1755504577 -SHA256 (ggerganov-llama.cpp-b6191_GH0.tar.gz) = 2383b5ed5096bdc560b64484d6924599bb95367c145544f041caaa3ed7bdb990 -SIZE (ggerganov-llama.cpp-b6191_GH0.tar.gz) = 25552913 +TIMESTAMP = 1762064711 +SHA256 (ggerganov-llama.cpp-b6922_GH0.tar.gz) = f082dd1e28b99ceafe5e60684eadde1eb0c07e0f6d4aba5a2275a4ebaff46235 +SIZE (ggerganov-llama.cpp-b6922_GH0.tar.gz) = 26136742 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/llama-server.in b/misc/llama-cpp/files/llama-server.in index f958b774a4fc..6eec15953978 100644 --- a/misc/llama-cpp/files/llama-server.in +++ b/misc/llama-cpp/files/llama-server.in @@ -55,8 +55,8 @@ llama_server_precmd() fi # ensure that the log file exists and has right permissions - touch ${llama_server_log} - chown ${llama_server_user} ${llama_server_log} + touch ${llama_server_log} ${pidfile} + chown ${llama_server_user} ${llama_server_log} ${pidfile} chmod 640 ${llama_server_log} } 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 d6690897b050..678dd2ed6420 100644 --- a/misc/llama-cpp/pkg-plist +++ b/misc/llama-cpp/pkg-plist @@ -14,8 +14,8 @@ 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 %%EXAMPLES%%bin/llama-lookup %%EXAMPLES%%bin/llama-lookup-create @@ -48,8 +48,8 @@ include/ggml-opt.h include/ggml-rpc.h include/ggml-sycl.h include/ggml-vulkan.h -include/ggml.h include/ggml-webgpu.h +include/ggml.h include/gguf.h include/llama-cpp.h include/llama.h |
