pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

llama.cpp: include the (pre-built) web ui



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Jun 19 12:49:37 2026 +0200
Changeset:	5d55c7b77825d0744bbaf1bfb184033d966e2aab

Modified Files:
	llama.cpp/Makefile
	llama.cpp/distinfo

Log Message:
llama.cpp: include the (pre-built) web ui

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5d55c7b77825d0744bbaf1bfb184033d966e2aab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 llama.cpp/Makefile | 5 +++++
 llama.cpp/distinfo | 3 +++
 2 files changed, 8 insertions(+)

diffs:
diff --git a/llama.cpp/Makefile b/llama.cpp/Makefile
index f1bd587f90..a26ed9face 100644
--- a/llama.cpp/Makefile
+++ b/llama.cpp/Makefile
@@ -5,6 +5,8 @@
 PKGNAME=	${DISTNAME:S/-b/-${LLAMA_CPP_VAR}./}
 CATEGORIES=	devel
 LLAMA_CPP_VAR=	0.0.2
+DISTFILES=	${DEFAULT_DISTFILES} llama-${GITHUB_TAG}-ui.tar.gz
+SITES.llama-${GITHUB_TAG}-ui.tar.gz=	https://github.com/ggml-org/llama.cpp/releases/download/${GITHUB_TAG}/
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/ggerganov/llama.cpp/
@@ -35,6 +37,9 @@ SUBST_MESSAGE.findblas=	Fixing libpci soname
 SUBST_FILES.findblas+=	ggml/src/ggml-blas/CMakeLists.txt
 SUBST_SED.findblas+=	-e 's,DepBLAS openblas64,DepBLAS ${BLAS_PC},'
 
+post-extract:
+	${LN} -s ${WRKDIR}/llama-${GITHUB_TAG} ${WRKSRC}/tools/ui/dist
+
 .include "../../www/curl/buildlink3.mk"
 .include "../../devel/cmake/build.mk"
 .include "../../mk/blas.buildlink3.mk"
diff --git a/llama.cpp/distinfo b/llama.cpp/distinfo
index f9a8e3f7ae..b5a8a7ca99 100644
--- a/llama.cpp/distinfo
+++ b/llama.cpp/distinfo
@@ -1,5 +1,8 @@
 $NetBSD$
 
+BLAKE2s (llama-b9405-ui.tar.gz) = 810b2ee6813411f4272c3efe9a1c9e620d3076f0ed1d872197c4c03dfa29e850
+SHA512 (llama-b9405-ui.tar.gz) = 2465cfe8350a028bfaff368d3442639a7b577d375f508632e2473ee2a058279c36c05ccb2a8a8f747bd25d5fe2e0d7cdac81437fcb2ac2e09fbebf2d6a01107a
+Size (llama-b9405-ui.tar.gz) = 1872983 bytes
 BLAKE2s (llama.cpp-b9405.tar.gz) = e3c17cae193e0199f48739e4c2a7b93814b5468105e7adab3c07ea5a834e4c62
 SHA512 (llama.cpp-b9405.tar.gz) = b973ca115041710fa759c056c1768b30f63d9870eb35e227ece451502eec45efdf98b8706b07ebe44f61166317104ca29f1ab978ad5caf1968b305c86d11d0be
 Size (llama.cpp-b9405.tar.gz) = 33963595 bytes


Home | Main Index | Thread Index | Old Index