git: 66059e84cc21 - main - misc/koboldcpp: update 1.86.2 → 1.89
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Apr 2025 20:25:21 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=66059e84cc215b00641428101a871c8e20ce927a
commit 66059e84cc215b00641428101a871c8e20ce927a
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-04-21 14:47:00 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-04-21 20:25:17 +0000
misc/koboldcpp: update 1.86.2 → 1.89
Reported by: portscout
---
misc/koboldcpp/Makefile | 7 ++++++-
misc/koboldcpp/distinfo | 6 +++---
misc/koboldcpp/files/patch-Makefile | 14 ++++++++++----
3 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/misc/koboldcpp/Makefile b/misc/koboldcpp/Makefile
index 10e3f8ad30c0..115911d005a4 100644
--- a/misc/koboldcpp/Makefile
+++ b/misc/koboldcpp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= koboldcpp
DISTVERSIONPREFIX= v
-DISTVERSION= 1.86.2
+DISTVERSION= 1.89
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
@@ -17,6 +17,7 @@ FLAVORS= default portable
FLAVOR?= ${FLAVORS:[1]}
portable_PKGNAMESUFFIX= -portable
+BUILD_DEPENDS= glslc:graphics/shaderc
LIB_DEPENDS= libopenblas.so:math/openblas \
libvulkan.so:graphics/vulkan-loader
@@ -49,6 +50,10 @@ PLIST_FILES= ${LIBS:S/^/%%DATADIR%%\//}
MAKE_ARGS+= KCPP_DEBUG=1
.endif
+post-patch:
+ @${RM} ${WRKSRC}/glslc-linux
+ @${LN} -s ${PREFIX}/bin/glslc ${WRKSRC}/glslc-linux
+
do-install:
# dir
${MKDIR} ${STAGEDIR}${DATADIR}
diff --git a/misc/koboldcpp/distinfo b/misc/koboldcpp/distinfo
index 7de3a054672d..76d417f8cf3f 100644
--- a/misc/koboldcpp/distinfo
+++ b/misc/koboldcpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742197061
-SHA256 (LostRuins-koboldcpp-v1.86.2_GH0.tar.gz) = 57ba6a2509215697a3fa3e88f1500e9f653f3d2494a848cfc73cdbcc26c3e7be
-SIZE (LostRuins-koboldcpp-v1.86.2_GH0.tar.gz) = 37064271
+TIMESTAMP = 1745253387
+SHA256 (LostRuins-koboldcpp-v1.89_GH0.tar.gz) = 5bf0a3b1559330aa4780ff9670ae9dbf3bad2268076853ccb82754068cf7b743
+SIZE (LostRuins-koboldcpp-v1.89_GH0.tar.gz) = 27654876
diff --git a/misc/koboldcpp/files/patch-Makefile b/misc/koboldcpp/files/patch-Makefile
index eaf1aaa17486..e991582502a7 100644
--- a/misc/koboldcpp/files/patch-Makefile
+++ b/misc/koboldcpp/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig 2025-02-09 08:59:56 UTC
+--- Makefile.orig 2025-04-20 12:57:11 UTC
+++ Makefile
@@ -45,8 +45,8 @@ endif
#
@@ -11,16 +11,22 @@
ifdef KCPP_DEBUG
CFLAGS = -g -O0
CXXFLAGS = -g -O0
-@@ -151,7 +151,7 @@ else
+@@ -151,10 +151,10 @@ else
FULLCFLAGS += -mavx2 -msse3 -mssse3 -mfma -mf16c -mavx
endif # LLAMA_NOAVX2
else
- CFLAGS += -march=native -mtune=native
+- SIMPLECFLAGS += -march=native -mtune=native
+- SIMPLERCFLAGS += -march=native -mtune=native
+- FULLCFLAGS += -march=native -mtune=native
+ #CFLAGS += -march=native -mtune=native
++ #SIMPLECFLAGS += -march=native -mtune=native
++ #SIMPLERCFLAGS += -march=native -mtune=native
++ #FULLCFLAGS += -march=native -mtune=native
endif # LLAMA_PORTABLE
endif # if x86
-@@ -289,8 +289,8 @@ else
+@@ -297,8 +297,8 @@ else
CXXFLAGS += -mcpu=native
endif
else
@@ -31,7 +37,7 @@
endif
endif
endif
-@@ -746,4 +746,4 @@ finishedmsg:
+@@ -841,4 +841,4 @@ finishedmsg:
#phony for printing messages
finishedmsg:
$(NOTIFY_MSG)