From: Kirill A. Korinsky Subject: devel/libggml: update to 0.9.7; misc/llama.cpp: update to b8067 To: OpenBSD ports Date: Sun, 15 Feb 2026 23:19:45 +0100 ports@, I'd like to update devel/libggml to 0.9.7 and synchronized version of misc/llama.cpp b8067. Works on my test tests, but I've tested only CPU backend. Also, audio/whisper.cpp are passed all tests. Index: misc/llama.cpp/Makefile =================================================================== RCS file: /home/cvs/ports/misc/llama.cpp/Makefile,v diff -u -p -r1.15 Makefile --- misc/llama.cpp/Makefile 1 Feb 2026 15:57:45 -0000 1.15 +++ misc/llama.cpp/Makefile 15 Feb 2026 22:11:02 -0000 @@ -2,11 +2,11 @@ COMMENT = LLM inference system GH_ACCOUNT = ggml-org GH_PROJECT = llama.cpp -GH_TAGNAME = b7883 +GH_TAGNAME = b8067 PKGNAME = llama.cpp-0.0.${GH_TAGNAME:S/b//} -SHARED_LIBS += llama 3.0 -SHARED_LIBS += mtmd 1.0 +SHARED_LIBS += llama 3.1 +SHARED_LIBS += mtmd 1.1 CATEGORIES = misc @@ -20,6 +20,8 @@ COMPILER = base-clang ports-gcc # some tests need network access LIB_DEPENDS = devel/libggml + +TEST_DEPENDS = www/py-jinja2 CONFIGURE_ARGS += -DLLAMA_USE_SYSTEM_GGML=on CFLAGS += -I${LOCALBASE}/include Index: misc/llama.cpp/distinfo =================================================================== RCS file: /home/cvs/ports/misc/llama.cpp/distinfo,v diff -u -p -r1.8 distinfo --- misc/llama.cpp/distinfo 1 Feb 2026 15:57:45 -0000 1.8 +++ misc/llama.cpp/distinfo 15 Feb 2026 22:08:24 -0000 @@ -1,2 +1,2 @@ -SHA256 (llama.cpp-b7883.tar.gz) = eR/Bt8eMbw4FM/0/By7RUyg/WmuI/hgYbwAf5Q1auwA= -SIZE (llama.cpp-b7883.tar.gz) = 28882544 +SHA256 (llama.cpp-b8067.tar.gz) = xaX4IcqeK9yp5Tltqn4mJy8OtNHpVRVcxI9RSPGo59I= +SIZE (llama.cpp-b8067.tar.gz) = 29024475 Index: devel/libggml/Makefile =================================================================== RCS file: /home/cvs/ports/devel/libggml/Makefile,v diff -u -p -r1.7 Makefile --- devel/libggml/Makefile 1 Feb 2026 15:57:17 -0000 1.7 +++ devel/libggml/Makefile 15 Feb 2026 21:50:00 -0000 @@ -2,12 +2,11 @@ COMMENT= tensor library for machine lea GH_ACCOUNT= ggml-org GH_PROJECT= ggml -GH_COMMIT= ad04d9446254f6b5e352a944fece859940c0b50f -DISTNAME= ggml-0.9.5pl20260130 +GH_TAGNAME = v0.9.7 PKGNAME= lib${DISTNAME} -SHARED_LIBS += ggml 3.3 -SHARED_LIBS += ggml-base 3.3 +SHARED_LIBS += ggml 3.4 +SHARED_LIBS += ggml-base 3.4 CATEGORIES= devel Index: devel/libggml/distinfo =================================================================== RCS file: /home/cvs/ports/devel/libggml/distinfo,v diff -u -p -r1.5 distinfo --- devel/libggml/distinfo 1 Feb 2026 15:57:17 -0000 1.5 +++ devel/libggml/distinfo 15 Feb 2026 21:50:31 -0000 @@ -1,2 +1,2 @@ -SHA256 (ggml-0.9.5pl20260130-ad04d944.tar.gz) = fcfr2CQUoGDuO7QGQTHOiC5UnSiEWSuSbCeslF2EIqU= -SIZE (ggml-0.9.5pl20260130-ad04d944.tar.gz) = 2543796 +SHA256 (ggml-0.9.7.tar.gz) = cogoWxlMv3/XtTJijF+a6G3aJWjsInaou0m57vZcygA= +SIZE (ggml-0.9.7.tar.gz) = 2569901 Index: devel/libggml/patches/patch-CMakeLists_txt =================================================================== RCS file: /home/cvs/ports/devel/libggml/patches/patch-CMakeLists_txt,v diff -u -p -r1.2 patch-CMakeLists_txt --- devel/libggml/patches/patch-CMakeLists_txt 1 Feb 2026 15:57:17 -0000 1.2 +++ devel/libggml/patches/patch-CMakeLists_txt 15 Feb 2026 21:52:04 -0000 @@ -2,7 +2,7 @@ Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt @@ -7,7 +7,7 @@ set(GGML_VERSION_MINOR 9) - set(GGML_VERSION_PATCH 5) + set(GGML_VERSION_PATCH 7) set(GGML_VERSION_BASE "${GGML_VERSION_MAJOR}.${GGML_VERSION_MINOR}.${GGML_VERSION_PATCH}") -find_program(GIT_EXE NAMES git git.exe NO_CMAKE_FIND_ROOT_PATH) Index: devel/libggml/patches/patch-src_ggml-backend-reg_cpp =================================================================== RCS file: /home/cvs/ports/devel/libggml/patches/patch-src_ggml-backend-reg_cpp,v diff -u -p -r1.3 patch-src_ggml-backend-reg_cpp --- devel/libggml/patches/patch-src_ggml-backend-reg_cpp 14 Dec 2025 12:51:12 -0000 1.3 +++ devel/libggml/patches/patch-src_ggml-backend-reg_cpp 15 Feb 2026 21:51:59 -0000 @@ -1,7 +1,7 @@ Index: src/ggml-backend-reg.cpp --- src/ggml-backend-reg.cpp.orig +++ src/ggml-backend-reg.cpp -@@ -531,7 +531,9 @@ static ggml_backend_reg_t ggml_backend_load_best(const +@@ -463,7 +463,9 @@ static ggml_backend_reg_t ggml_backend_load_best(const search_paths.push_back(fs::u8path(GGML_BACKEND_DIR)); #endif // default search paths: executable directory, current directory -- wbr, Kirill