From nobody Wed Dec 11 17:34:09 2024 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 4Y7jQ96wQ4z5gDPQ; Wed, 11 Dec 2024 17:34:09 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y7jQ93C1cz4J6Y; Wed, 11 Dec 2024 17:34:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733938449; 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=/LZOds49blIDInbDvI/g5b1aJDMJiu9Jj6RnOP8z9Yg=; b=Fal/QAHBbbgae5eduYv3n/IMedcBFUiuE514bbgQQJ+VG0aspa2BXQymgU3SbVMLZJDoTz N9ytXZwbCs05azjakTW2M/vLv/GXyrU5B+hMKoXd+ONC78BAknB8a6Xez2pfoxVhClnE2h tv0FcVsZY3+IrvFuMUsw+/0NFZODcnY6rK1INCFUEr+sV1GpiTBOIyDpzQt9wC+b5lF5jQ EW6u77GqRXqNZFlumcdCaeuorBE8fURawn7uLTkLcRD/AvKc3AxAHRhzKE3auNNC9WSUw9 WKUowEvbtgnavHNoPPWJfvOTXkDzRrox3HOdNa4yVSW0PD1LJ9qeZh2nzHMu5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733938449; 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=/LZOds49blIDInbDvI/g5b1aJDMJiu9Jj6RnOP8z9Yg=; b=GBYApH7TQpQeXyg2cLUrdBQd4F7OPSzYn60DfBY0XQHHlR9z9WIBewxgjd9mc3a4jm6PAY +JgN62ZS3+RS8Ot9/PH7P7Ch6Moxviw6S/DxSNZRHvNM1JqpRjJvFyvtD57kWDHuELRgYU EVY7muhstmcFO8Ilu26Rfuf2PzGatYR8QuX6a/yBDpZl/y486FD7Ws/LpjlSLmWpnYhJH/ qGaOxeJxrM4yBcbGmuZh7Tnt8GEKj1EA0APlu5vCuI9wzPLhAjEUwVM/gn1DLUn7GDG+k6 RN+e4hAuPqKe64TEq5jtMsxy8UdMrf/RZgqx8JcQ4dZ/ddo6GKmVeoPPplPOhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733938449; a=rsa-sha256; cv=none; b=xzcWk/45hqhVyGGMOzNIQAcSgF6+AQlt9URxSGmf2LFZyOwqVSJhP8aXoZ4trF2Hwb+ABq 0WRyDkdel4qKEl0EBGVxHIegTcYNR3X15kyUxtd6R26Qyn7lljFewNJBA20k5CfQsdcvNs /prVEe6L6QwXFXHsKBWR5kGlZ0dQSxV8oZOFY56OY7KCsIm+eF7Nb8DmvMa7BOei3ZbxIB VoaX2urJxSexXi6AU1AAitCNF2rMFxXBqiljSTy855vPy3y8VOp1GNH+UsuSWG5LtMCgSF eXTObIWal7xKfgH31rzHpEnQtlWiVrAhMRCgcU8MwqoNhwMW5eripg1fiMTRTA== 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 4Y7jQ92LQszHh6; Wed, 11 Dec 2024 17:34:09 +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 4BBHY944029124; Wed, 11 Dec 2024 17:34:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BBHY9kX029121; Wed, 11 Dec 2024 17:34:09 GMT (envelope-from git) Date: Wed, 11 Dec 2024 17:34:09 GMT Message-Id: <202412111734.4BBHY9kX029121@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 600465f88b34 - main - misc/koboldcpp: fix build on powerpc* 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 600465f88b34c0cf552f0732b6e99eb51b8bcb2f Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=600465f88b34c0cf552f0732b6e99eb51b8bcb2f commit 600465f88b34c0cf552f0732b6e99eb51b8bcb2f Author: Piotr Kubaj AuthorDate: 2024-12-11 11:12:19 +0000 Commit: Piotr Kubaj CommitDate: 2024-12-11 17:29:01 +0000 misc/koboldcpp: fix build on powerpc* immintrin.h is not available on powerpc / powerpc64 and requires VSX on powerpc64le. --- misc/koboldcpp/files/patch-otherarch_ggml__v1.c | 11 +++++++++++ misc/koboldcpp/files/patch-otherarch_ggml__v2.c | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/misc/koboldcpp/files/patch-otherarch_ggml__v1.c b/misc/koboldcpp/files/patch-otherarch_ggml__v1.c new file mode 100644 index 000000000000..9956d930ed13 --- /dev/null +++ b/misc/koboldcpp/files/patch-otherarch_ggml__v1.c @@ -0,0 +1,11 @@ +--- otherarch/ggml_v1.c.orig 2024-12-11 11:02:13 UTC ++++ otherarch/ggml_v1.c +@@ -151,7 +151,7 @@ typedef double ggml_v1_float; + #undef bool + #define bool _Bool + #else +-#if !defined(__riscv) ++#if !defined(__riscv) && (defined(__amd64__) || defined(__i386__)) + #include + #endif + #endif diff --git a/misc/koboldcpp/files/patch-otherarch_ggml__v2.c b/misc/koboldcpp/files/patch-otherarch_ggml__v2.c new file mode 100644 index 000000000000..fafd01935399 --- /dev/null +++ b/misc/koboldcpp/files/patch-otherarch_ggml__v2.c @@ -0,0 +1,11 @@ +--- otherarch/ggml_v2.c.orig 2024-12-11 11:02:17 UTC ++++ otherarch/ggml_v2.c +@@ -183,7 +183,7 @@ typedef double ggml_v2_float; + #if defined(_MSC_VER) || defined(__MINGW32__) + #include + #else +-#if !defined(__riscv) ++#if !defined(__riscv) && (defined(__amd64__) || defined(__i386__)) + #include + #endif + #endif