From nobody Wed Jan 24 18:06:05 2024 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 4TKsMg3cnJz58SdR; Wed, 24 Jan 2024 18:06:07 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TKsMg34QBz5628; Wed, 24 Jan 2024 18:06:07 +0000 (UTC) (envelope-from ashish@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706119567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pwzHor0JawfKdbVHwjJV0UAMyjw7zUHQy+n+3473gCU=; b=Yhe+x0HYlNr8OS4ZexJ6utFO5SqCTIXBtynKvpp6XPL24m8pCxv2+HCfqxO67p6RIxD+A7 i9jsSD69hsrXtUmY3pLJm6MA9cwW1AAlaL2CVQWfBAxP1oBACRnp9lHPKQBZmuFMJDUH3w ymv/WDVWz4vPgIahXty23Mtke2gLZtBn1hZrAEr3OfpbGSYKglsnvKxW9Ue34ICDc2rgW0 bFlQ9GzmZHrc9PnHzGzmdgk6WCv/7OnbN7hVkQL+Y5Iw6SN0kwx2CaEgEvUyHPHzEu1xcW 9dvHrgqK/yk5HbcCcuF9rADLtav0u+J8zLwY//Ttpx4FQ3gX8fHoPvJti0wtfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706119567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pwzHor0JawfKdbVHwjJV0UAMyjw7zUHQy+n+3473gCU=; b=dRvtA4dkswp3nQwAFJOAtQIhruHS0BWsCDa6DSOygMWhUPqESgBLs3EAwghbUEA4zGZdSv I5AtC3izAtchEmznlH9tTk5foF+AbTxDEqCFfBW7+zCesnwW9zMJ1CqXBEsNp+of/YuwC6 0GcPkvSN2ifmqj6UjBSbRpQm4APYhCcGyWcnFjxpGqZFaJ8HD4Pvsbsenkc/7Mr5g4CO6i NRZkN7UWcknSVu8u3V30z21DRAvs0PWV5rclDaL3qZl4dvNtpVMkSWlJAo1VLzp/NFC2TF ovSPVRIzdV9oC3YkJZLYflJxO1tRS0nV670w6SXCpEEDzS927mOxZnxkBu50lA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706119567; a=rsa-sha256; cv=none; b=mwD7z/539NBABipRzMB4RxTjpnNJunkvL3a1xz7aIvp37+RMSo+cL17lpo9LvPzo0FblA0 WfyUe04PwEWKkxc1KkWWX5AUj8S6lzPrSdwWhmMBOh9q79PYND9Z8V0ucRQWNPfXI4dK9h N6s/PbvRr1V9PQ67J2eEe+vEvM1wVaR1BKIjKLwC9jzLE+xwQ+yKxc+SIiYTnIHdMhDFSK TMRRp0+THwgZ1gV23H5xBqecgtIGG2t447xj/nlhf/1L5nlQ1O9OexKSCtH+PfV8uKVbE/ 76k/uF/PU6CzPC5HJlDw2wxtyaoXF5NGSmNB+7c4xp0Uhm0CF4Cg65W3pOkeZQ== Received: from email.lostca.se (anamika.lostca.se [IPv6:2a01:4f9:3b:505c::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: ashish/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TKsMf500GzfNT; Wed, 24 Jan 2024 18:06:06 +0000 (UTC) (envelope-from ashish@FreeBSD.org) 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 24 Jan 2024 19:06:05 +0100 From: Ashish SHUKLA To: Jan Beich Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 2289f421c127 - main - textproc/ugrep: add a workaround for building on aarch64 platform In-Reply-To: References: <202401241236.40OCaArK081838@gitrepo.freebsd.org> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: ashish@FreeBSD.org Organization: The FreeBSD Project On 2024-01-24 15:38, Jan Beich wrote: > Ashish SHUKLA writes: > >> --- /dev/null >> +++ b/textproc/ugrep/files/patch-lzma_C_CpuArch.c >> @@ -0,0 +1,15 @@ >> +--- lzma/C/CpuArch.c.orig 2024-01-24 11:26:34 UTC >> ++++ lzma/C/CpuArch.c >> +@@ -762,10 +762,11 @@ BoolInt CPU_IsSupported_AES (void) { return >> APPLE_CRYP >> + >> + #include >> + >> ++#ifdef __linux__ >> + #define USE_HWCAP >> ++#endif >> + >> + #ifdef USE_HWCAP >> +- >> + #include >> + >> + #define MY_HWCAP_CHECK_FUNC_2(name1, name2) \ > > Better sync with archivers/7-zip/files/patch-C_CpuArch.c to support > SIMD > on aarch64, mainly the following: > > $ rg CPU_IsSupported_ > lzma/C/7zCrc.c > 318: if (CPU_IsSupported_CRC32()) Aah, thanks. I'll sync it up shortly. -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0