Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2025 18:56:04 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e2e9ddc21c7a - main - misc/koboldcpp: Ignore portable flavor on arm64; Try again on 32-bit platforms
Message-ID:  <202501091856.509Iu4Sr097911@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit e2e9ddc21c7a1b3fcb06fd303a44fc2c3aebfb20
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-09 14:41:39 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-09 18:56:01 +0000

    misc/koboldcpp: Ignore portable flavor on arm64; Try again on 32-bit platforms
    
    Reported by:    fallout (portable flavor on arm64)
---
 misc/koboldcpp/Makefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/misc/koboldcpp/Makefile b/misc/koboldcpp/Makefile
index 35033ca40e38..d69b4a67c72b 100644
--- a/misc/koboldcpp/Makefile
+++ b/misc/koboldcpp/Makefile
@@ -10,8 +10,8 @@ WWW=		https://github.com/lostruins/koboldcpp
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-BROKEN_armv7=	compilation fails, see https://github.com/LostRuins/koboldcpp/issues/1129
-BROKEN_i386=	compilation fails, see https://github.com/LostRuins/koboldcpp/issues/1129
+#BROKEN_armv7=	compilation fails, see https://github.com/LostRuins/koboldcpp/issues/1129
+#BROKEN_i386=	compilation fails, see https://github.com/LostRuins/koboldcpp/issues/1129
 
 FLAVORS=	default portable
 FLAVOR?=	${FLAVORS:[1]}
@@ -66,4 +66,10 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/${embd} ${STAGEDIR}${DATADIR}
 .endfor
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == aarch64 && ${FLAVOR} == portable
+IGNORE=	portable flavor isn't defined on aarch64 because it is based on AVX2, etc. (?)
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501091856.509Iu4Sr097911>