From nobody Mon Jan 6 04:01:17 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YRL8G4yRxz5jpXQ; Mon, 06 Jan 2025 04:01:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRL8F6T9Wz4yc1; Mon, 6 Jan 2025 04:01:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736136077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tvNqiQey/CLpPJQuaqL+VnpI6iqnrhOJh2KFRKAEM0s=; b=IzhKIiujNs6AtDK/XvMhAZiCAu2YMZiyxmgM2ZdG7PnwbUAMlbkxVmpPR/JyOj0IvtXpKu MOMOKrl+Y4PPyUMiDcIFLD4kO5hsT+05FevLJUSCLmzW9eq86KGKSrADCnoO1IH6lRwQwm NrOueQ7pxWv/24bMVh3kzH+53IUWcRn5mmm5UeoFEut9vMIZRM1gapCzD3HF6+pk7SAekM NPX0WaO4Gq34S5QWowcODzIttZW7wG38/jMegtjfDwLJNOqwLWdtA5BPXauCGLpWJ1DC3G 3uBAlnkeVmANHGxLrPKHTBPvGeVv6fB6r0F0m9aFqK8QePB9WJz352YxWK5EJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736136077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tvNqiQey/CLpPJQuaqL+VnpI6iqnrhOJh2KFRKAEM0s=; b=iXlQgjKKHl08WlznmP4GP/IsxbXeo1pcExyNgALV+QplOGx2e1MYRH/7XV35JxTwuQSUe4 l172e6LTGEQ/1Ccr2MMawItlemexuNOwGWfPn0QgxTgSsmFVQnGx/oVW7+RKx9gGXjMf5r JEBkxWkycSqZ/vruBSoJQ8P65qL7L10ZHy3QNJdQEq2B/x+wIjIGy48KCG5+2ugE4fiPEY bhCkt95dmeyxnJm7yBAWJKlhUfOnvN1L3KMaAgR2owAGtDzUKlELpqrWg4lMunICsDkk+F Z/jEPAuZkezXQWvVSfSCgr9fSmtQAKi/iPGP+2XhFlx62GFDHeWpfOjKRPcusA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736136077; a=rsa-sha256; cv=none; b=wfJYdOkC0ycWcA6S4go6kzPKVl8U2TXwdCioys5yJFUlbBXdjoHD4/TPfCYHbCNpltkALI YWuICA9kB2TI2Zxq2jgRkxar1kbFxoG80c2T6Up9kp5ZvU01CIpxe9WPOXGgB7bzWJGJtb M/7EOafFjTpzEk1qRxBZyFh9xl0+wyO8vz042JIRsv/iW32YPHRFPf/jxfgLMlCMp/xHBC hgqnuBIIuXx+MmVhcINl74ZNs0jCu1b4wpMqvsjrLF5fLsLDyzoVorvWXQ3/Y+Qkl3G1Pk q6fQ63C7PmLG/UQg+pP+vrPZfCmY46vrV9FpBbubpquBpNtIOZvXioRFfYAwCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YRL8F65Bjz179J; Mon, 06 Jan 2025 04:01:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50641HTC030253; Mon, 6 Jan 2025 04:01:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50641HVT030250; Mon, 6 Jan 2025 04:01:17 GMT (envelope-from git) Date: Mon, 6 Jan 2025 04:01:17 GMT Message-Id: <202501060401.50641HVT030250@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 4e02f4adba52 - main - misc/llama-cpp: update 4409 =?utf-8?Q?=E2=86=92?= 4418 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4e02f4adba52c79983d9b5e378500571de5a5f2d Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e02f4adba52c79983d9b5e378500571de5a5f2d commit 4e02f4adba52c79983d9b5e378500571de5a5f2d Author: Yuri Victorovich AuthorDate: 2025-01-06 01:11:21 +0000 Commit: Yuri Victorovich CommitDate: 2025-01-06 04:01:04 +0000 misc/llama-cpp: update 4409 → 4418 Reported by: portscout --- misc/llama-cpp/Makefile | 2 +- misc/llama-cpp/distinfo | 6 +++--- misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt | 20 ++++++++++++++++++++ misc/llama-cpp/pkg-message | 17 +++++++++++++++++ 4 files changed, 41 insertions(+), 4 deletions(-) diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile index 1eeab118f76e..ed8f01264362 100644 --- a/misc/llama-cpp/Makefile +++ b/misc/llama-cpp/Makefile @@ -1,6 +1,6 @@ PORTNAME= llama-cpp DISTVERSIONPREFIX= b -DISTVERSION= 4409 +DISTVERSION= 4418 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org diff --git a/misc/llama-cpp/distinfo b/misc/llama-cpp/distinfo index 1077df5ceb17..45282e0c4897 100644 --- a/misc/llama-cpp/distinfo +++ b/misc/llama-cpp/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1735962918 -SHA256 (ggerganov-llama.cpp-b4409_GH0.tar.gz) = 71a62315c73b1f00bdd5fdec7d16a77a0d6e1150171953fde230f04e7d5adfa1 -SIZE (ggerganov-llama.cpp-b4409_GH0.tar.gz) = 20608272 +TIMESTAMP = 1736116712 +SHA256 (ggerganov-llama.cpp-b4418_GH0.tar.gz) = b1d13215cbdb076ead3ed86043edc5c96999a204b95ad778fce8cd229d4d5427 +SIZE (ggerganov-llama.cpp-b4418_GH0.tar.gz) = 20608757 SHA256 (nomic-ai-kompute-4565194_GH0.tar.gz) = 95b52d2f0514c5201c7838348a9c3c9e60902ea3c6c9aa862193a212150b2bfc SIZE (nomic-ai-kompute-4565194_GH0.tar.gz) = 13540496 diff --git a/misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt b/misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt new file mode 100644 index 000000000000..8135824e1b8b --- /dev/null +++ b/misc/llama-cpp/files/patch-ggml_src_CMakeLists.txt @@ -0,0 +1,20 @@ +- workaround for https://github.com/ggerganov/llama.cpp/issues/11095 + +--- ggml/src/CMakeLists.txt.orig 2025-01-06 00:37:35 UTC ++++ ggml/src/CMakeLists.txt +@@ -152,15 +152,6 @@ endif() + # posix_memalign came in POSIX.1-2001 / SUSv3 + # M_PI is an XSI extension since POSIX.1-2001 / SUSv3, came in XPG1 (1985) + +-# Somehow in OpenBSD whenever POSIX conformance is specified +-# some string functions rely on locale_t availability, +-# which was introduced in POSIX.1-2008, forcing us to go higher +-if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD") +- add_compile_definitions(_XOPEN_SOURCE=700) +-else() +- add_compile_definitions(_XOPEN_SOURCE=600) +-endif() +- + # Data types, macros and functions related to controlling CPU affinity and + # some memory allocation are available on Linux through GNU extensions in libc + if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Android") diff --git a/misc/llama-cpp/pkg-message b/misc/llama-cpp/pkg-message new file mode 100644 index 000000000000..071e82665d9a --- /dev/null +++ b/misc/llama-cpp/pkg-message @@ -0,0 +1,17 @@ +[ +{ type: install + message: <