git: 785f8754cf2c - main - misc/llama-cpp: Only for amd64

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 15 Sep 2026 06:20:24 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=785f8754cf2c4384c79a45f184d55db1dbb3cdf2

commit 785f8754cf2c4384c79a45f184d55db1dbb3cdf2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-15 05:38:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-15 06:20:21 +0000

    misc/llama-cpp: Only for amd64
---
 misc/llama-cpp/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile
index 3f799fa5634e..4878c3a3a134 100644
--- a/misc/llama-cpp/Makefile
+++ b/misc/llama-cpp/Makefile
@@ -20,6 +20,9 @@ BUILD_DEPENDS=	npm:www/npm
 FETCH_DEPENDS=	npm:www/npm \
 		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 
+ONLY_FOR_ARCHS=		amd64
+ONLY_FOR_ARCHS_REASON=	WebUI requires a lot of NodeJS binaries which aren't available on FreeBSD and is a hassle to build, see https://github.com/ggml-org/llama.cpp/issues/28928
+
 BROKEN_armv7=	clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278810
 BROKEN_i386=	compilation fails, see https://github.com/ggml-org/llama.cpp/issues/9545