From nobody Sat Feb 21 06:13:55 2026 X-Original-To: dev-commits-ports-all@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 4fHxdb41K2z6S1Xk for ; Sat, 21 Feb 2026 06:13:55 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fHxdb3H5rz3dYG for ; Sat, 21 Feb 2026 06:13:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771654435; 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=WCkU9miaWIfygbQ7ImFqB3dpuc+wb7+rTN8Bxngn4U8=; b=eymRJW3wJj9khczHIggttG4/zWUD6uhsIOWT0x+rxdS4Nprd3cgOSZypEyKgdLdop+P5T1 ktwC1S9TmXbqrgQSMveoggO6yENwxOC7svovGzyfRpxhhT1Zewzk3l9L5jRb7pJuLOyU9q ADcDoJTx5QVzZfMihOEV8yIfgUky0WfjmD42bhnPeUVqup4xjQdw4M5LJO+bwaBXdoW/a0 UeTcRbtnvO7C9QjeIgEgt7cqmphOAm8Iah9R3SQapiyBxM5+eA8q+kiEixT4Gsh3LVxM8n +FlFKkH5xf360D8PDFxhyGh4b2At4h1tAGnC1EUEm+gFYx9PKnM9GqOhX6nxqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1771654435; a=rsa-sha256; cv=none; b=UbFaxBFpwjSnePKsXD6K4a8CueUYomCw/6YD6dqx9uzCHMg0yKnEc1guGcKhhpl/4cNeaD iD4qk1zWRe9+mb11EAPFqYUmrYdu9d/qxdNHkpj4REjBcLyhraqSwQr9KJJayk0H5YkNKr mrqG4lBdUPIITfCF0rUvD6BEsiisJLxeDHVkFJ0IBWbkOXSzpTS1998lGYb5LvuBURuvpX G7OwxS62bWcpwKPfq1zgxmMWqCyAnJuPApgNfOC28gHUdE3i+MhFlbfE/X7oFJokG7P86E U09MoopfzFrjN3YOkkZ59VTvStRxnLJVM/tbfaRoLGKbN/duostK2Hxm05mjtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771654435; 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=WCkU9miaWIfygbQ7ImFqB3dpuc+wb7+rTN8Bxngn4U8=; b=v1jCuo97oCks6wQHHqwHCD/wItMX00ZpiQuBcE15mCQtYJ0i2lRXP6CUn2NONEiJ/d/Kw+ XaEQ/w47oMwcUwV6sAtVPirveJFStQc8Uv+YUu43Doaov+iyXTbnbN4PYeAmS3VH4+bZgb gNaZ0GAtGOf7nCtM6lmbQD5pc0Y1VJwNxa8bJJyFU0YZ9En+Pt76Ekd7ADDyAJgS7hLaPU DqXVlDFKc6xooi7dXDbbgfepFF6rncPQpus9dqYcObwP+FY2+Wrkw3Ic26NrFvP+URSeyz e/KR7L50FhZMExXGTcTco33CeOixlqZ9FvP+J2FrfzsFTdszhWtm8CNS1NgDTA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fHxdb2qZnz12Lf for ; Sat, 21 Feb 2026 06:13:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3a035 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 21 Feb 2026 06:13:55 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?=C3=84lven?= Subject: git: 17c13889a513 - main - textproc/krep: Disable all SIMD hacks/detections in favor of CPUTYPE List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: alven X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 17c13889a5137e45011a083759a1879fec109613 Auto-Submitted: auto-generated Date: Sat, 21 Feb 2026 06:13:55 +0000 Message-Id: <69994d23.3a035.9e0e6e1@gitrepo.freebsd.org> The branch main has been updated by alven: URL: https://cgit.FreeBSD.org/ports/commit/?id=17c13889a5137e45011a083759a1879fec109613 commit 17c13889a5137e45011a083759a1879fec109613 Author: Älven AuthorDate: 2026-02-21 05:53:05 +0000 Commit: Älven CommitDate: 2026-02-21 06:13:38 +0000 textproc/krep: Disable all SIMD hacks/detections in favor of CPUTYPE All SIMD "hacks/detection" should be disabled as we have CPUTYPE and the current approach is also broken as host might not share the same CPU features as target. Reported by: diizzy@ (via e-mail) Approved by: db@, yuri@ (Mentors, implicit) --- textproc/krep/Makefile | 5 ----- textproc/krep/files/patch-Makefile | 22 +++++++++------------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/textproc/krep/Makefile b/textproc/krep/Makefile index 9b348d3c46d8..951dbdc69c80 100644 --- a/textproc/krep/Makefile +++ b/textproc/krep/Makefile @@ -11,7 +11,6 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake - USE_GITHUB= yes GH_ACCOUNT= davidesantangelo @@ -19,8 +18,4 @@ TEST_TARGET= test PLIST_FILES= bin/krep -OPTIONS_DEFINE= SIMD - -SIMD_MAKE_ARGS= SIMD=1 - .include diff --git a/textproc/krep/files/patch-Makefile b/textproc/krep/files/patch-Makefile index fc763f843ff5..32f8eaefbddd 100644 --- a/textproc/krep/files/patch-Makefile +++ b/textproc/krep/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2026-02-18 16:14:00 UTC +--- Makefile.orig 2026-02-18 15:31:31 UTC +++ Makefile -@@ -5,10 +5,10 @@ BINDIR = $(PREFIX)/bin +@@ -5,11 +5,15 @@ BINDIR = $(PREFIX)/bin PREFIX ?= /usr/local BINDIR = $(PREFIX)/bin @@ -12,23 +12,19 @@ -LDFLAGS = -pthread -flto +LDFLAGS += -pthread -flto ++# All SIMD "hacks/detection" should be disabled as we have CPUTYPE and the current ++# approach is also broken as host might not share the same CPU features as target. ++ifeq (0, 1) ++ # Build mode: set NATIVE=1 for maximum performance on local machine # Example: make NATIVE=1 -@@ -19,6 +19,9 @@ ARCH := $(shell uname -m) - # Detect architecture for SIMD flags - ARCH := $(shell uname -m) - -+# Build mode: set SIMD=1 for maximum performance using SIMD instructions -+# Example: make SIMD=1 -+ifdef SIMD - ifeq ($(ARCH), x86_64) - # Check for AVX-512 support (Linux: /proc/cpuinfo, macOS: sysctl) - HAS_AVX512 := $(shell (grep -q avx512f /proc/cpuinfo 2>/dev/null && echo 1) || \ -@@ -46,6 +49,7 @@ else ifeq ($(ARCH), aarch64) + ifdef NATIVE +@@ -46,6 +50,8 @@ else ifeq ($(ARCH), aarch64) else ifeq ($(ARCH), aarch64) # Enable NEON for aarch64 Linux CFLAGS += -D__ARM_NEON +endif ++ endif # Source files