summaryrefslogtreecommitdiff
path: root/misc/llama-cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-01-01 16:38:51 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2025-01-01 16:39:10 -0800
commitf72088b8f67d217861539f1e560a3e76da83279b (patch)
treed07ebe43cae312c735e4c5164512580214037cac /misc/llama-cpp
parentnet/mvfst: update 2024.12.23.00 → 2024.12.30.00 (diff)
misc/llama-cpp: update 4381 → 4404
Diffstat (limited to 'misc/llama-cpp')
-rw-r--r--misc/llama-cpp/Makefile13
-rw-r--r--misc/llama-cpp/distinfo6
2 files changed, 12 insertions, 7 deletions
diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile
index 6736e78555b2..59cdf9831dfc 100644
--- a/misc/llama-cpp/Makefile
+++ b/misc/llama-cpp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= llama-cpp
DISTVERSIONPREFIX= b
-DISTVERSION= 4381
+DISTVERSION= 4404
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
@@ -27,10 +27,15 @@ CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= LLAMA_BUILD_TESTS
CMAKE_TESTING_ON= LLAMA_BUILD_TESTS
-OPTIONS_DEFINE= EXAMPLES VULKAN
-OPTIONS_DEFAULT= VULKAN
+OPTIONS_DEFINE= CURL EXAMPLES VULKAN
+OPTIONS_DEFAULT= CURL VULKAN
OPTIONS_SUB= yes
+CURL_DESCR= Use libcurl to download model from an URL
+CURL_CMAKE_BOOL= LLAMA_CURL
+CURL_USES= localbase
+CURL_LIB_DEPENDS= libcurl.so:ftp/curl
+
EXAMPLES_CMAKE_BOOL= LLAMA_BUILD_EXAMPLES
VULKAN_DESC= Vulkan GPU offload support
@@ -45,6 +50,6 @@ do-test-ci: # build of tests fails, see https://github.com/ggerganov/llama.cpp/i
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} bash ci/run.sh ./tmp/results ./tmp/mnt
-# tests as of 4381: 97% tests passed, 1 tests failed out of 31
+# tests as of 4404: 97% tests passed, 1 tests failed out of 31, see https://github.com/ggerganov/llama.cpp/issues/11036
.include <bsd.port.mk>
diff --git a/misc/llama-cpp/distinfo b/misc/llama-cpp/distinfo
index d9f5b907abca..d85a10abe4e6 100644
--- a/misc/llama-cpp/distinfo
+++ b/misc/llama-cpp/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1734927684
-SHA256 (ggerganov-llama.cpp-b4381_GH0.tar.gz) = 9fba75d7add548cd772c8edbccd00c11143e3f2b26155e12f33348a6ad8e695d
-SIZE (ggerganov-llama.cpp-b4381_GH0.tar.gz) = 20594961
+TIMESTAMP = 1735768835
+SHA256 (ggerganov-llama.cpp-b4404_GH0.tar.gz) = ec16aa08daa58f804190e446bd010a941057391d66e5627d067f1fc3cc3f87ff
+SIZE (ggerganov-llama.cpp-b4404_GH0.tar.gz) = 20604345
SHA256 (nomic-ai-kompute-4565194_GH0.tar.gz) = 95b52d2f0514c5201c7838348a9c3c9e60902ea3c6c9aa862193a212150b2bfc
SIZE (nomic-ai-kompute-4565194_GH0.tar.gz) = 13540496