pkgsrc-WIP-changes archive

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

llama.cpp: remove, imported to pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Dec 1 14:36:24 2026 +0100
Changeset:	7ddb7f0426efb6efd003c3a43cbf0f5a800bf4f4

Modified Files:
	Makefile
	py-llama-cpp-scripts/Makefile
Removed Files:
	llama.cpp/DESCR
	llama.cpp/Makefile
	llama.cpp/Makefile.common
	llama.cpp/PLIST
	llama.cpp/TODO
	llama.cpp/buildlink3.mk
	llama.cpp/distinfo

Log Message:
llama.cpp: remove, imported to pkgsrc

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

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

diffstat:
 Makefile                      |  1 -
 llama.cpp/DESCR               | 15 ----------
 llama.cpp/Makefile            | 32 ---------------------
 llama.cpp/Makefile.common     | 14 ---------
 llama.cpp/PLIST               | 66 -------------------------------------------
 llama.cpp/TODO                |  4 ---
 llama.cpp/buildlink3.mk       | 14 ---------
 llama.cpp/distinfo            |  8 ------
 py-llama-cpp-scripts/Makefile |  2 +-
 9 files changed, 1 insertion(+), 155 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 3f580d8b03..ea09931c15 100644
--- a/Makefile
+++ b/Makefile
@@ -2296,7 +2296,6 @@ SUBDIR+=	litestream
 SUBDIR+=	lives
 SUBDIR+=	lizardfs
 SUBDIR+=	llama-swap
-SUBDIR+=	llama.cpp
 SUBDIR+=	lld
 SUBDIR+=	lldb
 SUBDIR+=	llilc-git
diff --git a/llama.cpp/DESCR b/llama.cpp/DESCR
deleted file mode 100644
index f52f2a686f..0000000000
--- a/llama.cpp/DESCR
+++ /dev/null
@@ -1,15 +0,0 @@
-The main goal of llama.cpp is to enable LLM inference with minimal
-setup and state-of-the-art performance on a wide variety of hardware
-- locally and in the cloud.
-
-* Plain C/C++ implementation without any dependencies
-* Apple silicon is a first-class citizen - optimized via ARM NEON,
-  Accelerate and Metal frameworks
-* AVX, AVX2 and AVX512 support for x86 architectures
-* 1.5-bit, 2-bit, 3-bit, 4-bit, 5-bit, 6-bit, and 8-bit integer
-  quantization for faster inference and reduced memory use
-* Custom CUDA kernels for running LLMs on NVIDIA GPUs (support for
-  AMD GPUs via HIP)
-* Vulkan and SYCL backend support
-* CPU+GPU hybrid inference to partially accelerate models larger
-  than the total VRAM capacity
diff --git a/llama.cpp/Makefile b/llama.cpp/Makefile
deleted file mode 100644
index d505ff8eb8..0000000000
--- a/llama.cpp/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD$
-
-.include "../../wip/llama.cpp/Makefile.common"
-
-CATEGORIES=	devel
-DISTFILES=	${DEFAULT_DISTFILES} llama-b${LLAMA_BUILD_NUMBER}-ui.tar.gz
-SITES.llama-b${LLAMA_BUILD_NUMBER}-ui.tar.gz=	https://github.com/ggml-org/llama.cpp/releases/download/b${LLAMA_BUILD_NUMBER}/
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/ggerganov/llama.cpp/
-COMMENT=	LLM inference in C/C++
-LICENSE=	mit
-
-USE_TOOLS+=		pkg-config
-USE_LANGUAGES=		c c++
-USE_CXX_FEATURES=	c++17
-
-PKGCONFIG_OVERRIDE+=	cmake/llama.pc.in
-
-CMAKE_CONFIGURE_ARGS+=	-DLLAMA_BUILD_NUMBER=${LLAMA_BUILD_NUMBER}
-CMAKE_CONFIGURE_ARGS+=	-DLLAMA_BUILD_COMMIT=${LLAMA_BUILD_COMMIT}
-CMAKE_CONFIGURE_ARGS+=	-DLLAMA_BUILD_TESTS=NO
-CMAKE_CONFIGURE_ARGS+=	-DLLAMA_USE_SYSTEM_GGML=YES
-
-post-extract:
-	${LN} -s ${WRKDIR}/llama-b${LLAMA_BUILD_NUMBER} ${WRKSRC}/ui/apps/chat/dist
-
-.include "../../www/curl/buildlink3.mk"
-BUILDLINK_API_DEPENDS.ggml+=	ggml>=1.1.1
-.include "../../math/ggml/buildlink3.mk"
-.include "../../devel/cmake/build.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/llama.cpp/Makefile.common b/llama.cpp/Makefile.common
deleted file mode 100644
index b7122e285f..0000000000
--- a/llama.cpp/Makefile.common
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD$
-#
-# used by wip/llama.cpp/Makefile
-# used by wip/py-llama-cpp-scripts/Makefile
-
-DISTNAME=	llama.cpp-${LLAMA_VERSION}
-MASTER_SITES=	${MASTER_SITE_GITHUB:=ggml-org/}
-GITHUB_PROJECT=	llama.cpp
-GITHUB_TAG=	v${PKGVERSION_NOREV}
-
-# embedded in version string in binary, and used for downloading UI assets
-LLAMA_VERSION=		1.1.0
-LLAMA_BUILD_NUMBER=	12774
-LLAMA_BUILD_COMMIT=	171527522610996f5f0acf12334e185156ca8f44
diff --git a/llama.cpp/PLIST b/llama.cpp/PLIST
deleted file mode 100644
index 58d5cc3a1a..0000000000
--- a/llama.cpp/PLIST
+++ /dev/null
@@ -1,66 +0,0 @@
-@comment $NetBSD$
-bin/llama
-bin/llama-batched
-bin/llama-batched-bench
-bin/llama-bench
-bin/llama-cli
-bin/llama-completion
-bin/llama-convert-llama2c-to-ggml
-bin/llama-cvector-generator
-bin/llama-debug
-bin/llama-diffusion-cli
-bin/llama-embedding
-bin/llama-eval-callback
-bin/llama-export-lora
-bin/llama-finetune
-bin/llama-fit-params
-bin/llama-gen-docs
-bin/llama-gguf
-bin/llama-gguf-hash
-bin/llama-gguf-split
-bin/llama-idle
-bin/llama-imatrix
-bin/llama-lookahead
-bin/llama-lookup
-bin/llama-lookup-create
-bin/llama-lookup-merge
-bin/llama-lookup-stats
-bin/llama-mtmd-cli
-bin/llama-parallel
-bin/llama-passkey
-bin/llama-perplexity
-bin/llama-quantize
-bin/llama-results
-bin/llama-retrieval
-bin/llama-server
-bin/llama-simple
-bin/llama-simple-chat
-bin/llama-speculative
-bin/llama-speculative-simple
-bin/llama-tokenize
-bin/llama-tts
-include/llama-cpp.h
-include/llama.h
-include/mtmd-debug.h
-include/mtmd-helper.h
-include/mtmd.h
-lib/cmake/llama/llama-config-version.cmake
-lib/cmake/llama/llama-config.cmake
-lib/libllama-batched-bench-impl.so
-lib/libllama-bench-impl.so
-lib/libllama-cli-impl.so
-lib/libllama-common.so
-lib/libllama-common.so.1
-lib/libllama-common.so.${PKGVERSION}
-lib/libllama-completion-impl.so
-lib/libllama-fit-params-impl.so
-lib/libllama-perplexity-impl.so
-lib/libllama-quantize-impl.so
-lib/libllama-server-impl.so
-lib/libllama.so
-lib/libllama.so.1
-lib/libllama.so.${PKGVERSION}
-lib/libmtmd.so
-lib/libmtmd.so.1
-lib/libmtmd.so.${PKGVERSION}
-lib/pkgconfig/llama.pc
diff --git a/llama.cpp/TODO b/llama.cpp/TODO
deleted file mode 100644
index f467811b04..0000000000
--- a/llama.cpp/TODO
+++ /dev/null
@@ -1,4 +0,0 @@
-This package has known vulnerabilities, please investigate and fix if possible:
-  CVE-2026-18581, CVE-2026-43627, CVE-2026-43628, CVE-2026-43629, CVE-2026-43630,
-  CVE-2026-43631, CVE-2026-43632, CVE-2026-52131, CVE-2026-52132,
-  CVE-2026-78147, CVE-2026-78148, CVE-2026-86317, CVE-2026-116467
diff --git a/llama.cpp/buildlink3.mk b/llama.cpp/buildlink3.mk
deleted file mode 100644
index 5c8018f219..0000000000
--- a/llama.cpp/buildlink3.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	llama.cpp
-
-.if !defined(LLAMA.CPP_BUILDLINK3_MK)
-LLAMA.CPP_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.llama.cpp+=	llama.cpp>=1.1.0
-BUILDLINK_PKGSRCDIR.llama.cpp?=		../../wip/llama.cpp
-
-.include "../../math/ggml/buildlink3.mk"
-.endif	# LLAMA.CPP_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-llama.cpp
diff --git a/llama.cpp/distinfo b/llama.cpp/distinfo
deleted file mode 100644
index f91880a8ee..0000000000
--- a/llama.cpp/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD$
-
-BLAKE2s (llama-b12774-ui.tar.gz) = eb4548b4a220297412d538c21c05b0298092a3fe8af3177eb70aea8abc0c404f
-SHA512 (llama-b12774-ui.tar.gz) = 9906b01b6c63c30e095ca964bbdd701dee2019f4c1359a6eacb04730d67ce549ebe146c10edb37b131d720b3974674a774ca45a0d284dc640373ec918cbab908
-Size (llama-b12774-ui.tar.gz) = 2687715 bytes
-BLAKE2s (llama.cpp-1.1.0.tar.gz) = 613453de792c38785bab789a2e51dad886e8d1223954f51c5c96cc7b191e2ae8
-SHA512 (llama.cpp-1.1.0.tar.gz) = 7b249fdb698467f19cd08d806631eff20aa9958c83ac5c96a6b90af8612edd77b9fb260a19024de4aae7c77af4be9a631112180719572be6158f003701b17ded
-Size (llama.cpp-1.1.0.tar.gz) = 39773717 bytes
diff --git a/py-llama-cpp-scripts/Makefile b/py-llama-cpp-scripts/Makefile
index cfdfddb5c5..82fe76db7a 100644
--- a/py-llama-cpp-scripts/Makefile
+++ b/py-llama-cpp-scripts/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-.include "../../wip/llama.cpp/Makefile.common"
+.include "../../misc/llama.cpp/Makefile.common"
 
 PKGNAME=	${PYPKGPREFIX}-llama-cpp-scripts-${LLAMA_VERSION}
 CATEGORIES=	devel


Home | Main Index | Thread Index | Old Index