Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2025 10:03:25 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: ad75f0483bb9 - main - =?utf-8?Q?misc/koboldcpp: update 1.82.4 =E2=86=92 1.83?=
Message-ID:  <202502091003.519A3Phj088339@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=ad75f0483bb9f36e0797e5e039ffa0f830130562

commit ad75f0483bb9f36e0797e5e039ffa0f830130562
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-02-09 10:02:56 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-02-09 10:03:12 +0000

    misc/koboldcpp: update 1.82.4 → 1.83
    
    Reported by:    portscout
---
 misc/koboldcpp/Makefile             |  3 +--
 misc/koboldcpp/distinfo             |  6 ++---
 misc/koboldcpp/files/patch-Makefile | 50 ++++++++++++++++++-------------------
 3 files changed, 29 insertions(+), 30 deletions(-)

diff --git a/misc/koboldcpp/Makefile b/misc/koboldcpp/Makefile
index dc8aebc6a80f..c1cdd8950afa 100644
--- a/misc/koboldcpp/Makefile
+++ b/misc/koboldcpp/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	koboldcpp
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.82.4
-PORTREVISION=	1
+DISTVERSION=	1.83
 CATEGORIES=	misc # machine-learning
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/misc/koboldcpp/distinfo b/misc/koboldcpp/distinfo
index 8d94ee480a68..0c0c3e7960f5 100644
--- a/misc/koboldcpp/distinfo
+++ b/misc/koboldcpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1737681737
-SHA256 (LostRuins-koboldcpp-v1.82.4_GH0.tar.gz) = fdee4bddd891a29ea231dae0a56b887f1fe4ea441c27cc054daabaade1c63062
-SIZE (LostRuins-koboldcpp-v1.82.4_GH0.tar.gz) = 28032612
+TIMESTAMP = 1739080679
+SHA256 (LostRuins-koboldcpp-v1.83_GH0.tar.gz) = 1289652de864782e248a8a5f12b065e2a3f97f2b938ab482cbc72709bf1a6862
+SIZE (LostRuins-koboldcpp-v1.83_GH0.tar.gz) = 31793378
diff --git a/misc/koboldcpp/files/patch-Makefile b/misc/koboldcpp/files/patch-Makefile
index 020810c9c5b9..654beb45b197 100644
--- a/misc/koboldcpp/files/patch-Makefile
+++ b/misc/koboldcpp/files/patch-Makefile
@@ -1,37 +1,37 @@
---- Makefile.orig	2024-12-24 20:09:43 UTC
+--- Makefile.orig	2025-02-07 18:11:10 UTC
 +++ Makefile
-@@ -48,8 +48,8 @@ endif
+@@ -45,8 +45,8 @@ endif
  #
  
  # keep standard at C11 and C++17
--CFLAGS =
--CXXFLAGS =
-+CFLAGS = $(PRESET_CFLAGS)
-+CXXFLAGS = $(PRESET_CXXFLAGS)
+-CFLAGS ?=
+-CXXFLAGS ?=
++CFLAGS ?= $(PRESET_CFLAGS)
++CXXFLAGS ?= $(PRESET_CXXFLAGS)
  ifdef KCPP_DEBUG
  	CFLAGS = -g -O0
  	CXXFLAGS = -g -O0
-@@ -167,7 +167,7 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64
- 			FULLCFLAGS += -mavx2 -msse3 -mfma -mf16c -mavx
- 		endif
- 		else
--		CFLAGS += -march=native -mtune=native
-+		CFLAGS +=
- 		endif
- 	endif
+@@ -151,7 +151,7 @@ else
+ 	FULLCFLAGS += -mavx2 -msse3 -mssse3 -mfma -mf16c -mavx
+ endif # LLAMA_NOAVX2
+ else
+-	CFLAGS += -march=native -mtune=native
++	#CFLAGS += -march=native -mtune=native
+ endif # LLAMA_PORTABLE
+ endif # if x86
+ 
+@@ -289,8 +289,8 @@ else
+ 	CXXFLAGS += -mcpu=native
+ endif
+ else
+-	CFLAGS += -mcpu=native
+-	CXXFLAGS += -mcpu=native
++	#CFLAGS += -mcpu=native
++	#CXXFLAGS += -mcpu=native
+ endif
  endif
-@@ -332,8 +332,8 @@ ifneq ($(filter aarch64%,$(UNAME_M)),)
- 				CXXFLAGS += -mcpu=native
- 			endif
- 		else
--			CFLAGS += -mcpu=native
--			CXXFLAGS += -mcpu=native
-+			CFLAGS += 
-+			CXXFLAGS += 
- 		endif
- 	endif
  endif
-@@ -755,4 +755,4 @@ finishedmsg:
+@@ -746,4 +746,4 @@ finishedmsg:
  #phony for printing messages
  finishedmsg:
  	$(NOTIFY_MSG)



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