From nobody Thu Jan 25 12:40:29 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 4TLL5Y5Ct2z58RMm; Thu, 25 Jan 2024 12:40:33 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4TLL5Y4ZVNz4cK0; Thu, 25 Jan 2024 12:40:33 +0000 (UTC) (envelope-from ashish@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706186433; 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=ZO2WdDrn88b51B5kTnq+H0O54G4cXQLZUQVcCzeIw4I=; b=u4XKG6pgPACZ/4LNKj9HB292lwlP4IdL8LOGVL930gUA47izI1tOboPR9dxJLzQMbH1Xj5 V8hRhaaMwfhVoahoS7rDQA0Y6HmHcqiHBWcF0vqqwLFfZw4HtLy7e0vp7Uda9XQHf+MsBp 5zb6poJGETzTJ4UAhSO++Z44Ssso5GlKDw6/2RD2mAInRF97a9soR42UTKIt6VBE5LnBKb C8c/I/nbyU5wznDHSL0IT1tFpGs6jptvmBLno8TvLxxGvmzearS8CDdh1fkU6p0ATeOGmC lgt5vpOIXIGm70Ts+QEd5yMKNgZzwqkUKGM/nY1xN9ogP8FrfDVab5JeZQmbCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706186433; 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=ZO2WdDrn88b51B5kTnq+H0O54G4cXQLZUQVcCzeIw4I=; b=d+iYmtN6ObGREUPhOMyBDqeizH22CIpkndO4efpITOpeJOuLGXG2MHwZzsY5xdu3QfpCfw MZXTNeuT3xTg5pbHJnsJ3J1R33qxh1ctRf9ey8cwdWK7ypavs2FfBA6Z56ytPwyaR1E2w1 C9Amf43FRy481UbxDSyzy0M+iUxh0F8nxcxkR+vtZPT7ppZYSwz7oplRWFoKpiMAad9Sv8 hA61qE+Rskzyj3cUyvqrot8nuggGn1dKAQBSOhds9FmYjZNKIaB01VCphM/i/cxCjsBD/w Qz/zZlBHl7JPuriuBC0QAAb2ADI8Kb9L5EAkaGwSoLR9wOEeASgvx9vzfsfEzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706186433; a=rsa-sha256; cv=none; b=bwW0v//1ATg5YAGrGpIcAb0C2YGVzb4dDTLSr7PEYTczJNmbMYtSxk6aKOzh2M8IOROZqh zVX4Qesxp63/nqwL2WytJBzJZ2PnSBaq8cBhPdr+N2ceqRPTVOvrYxEnyeYy87A1I+Eu4o etiOGLqY0lohMLw0K4r0emg8Q7sKwhsfkv5UgEI7YodZZ2SVYxhwgUap4ExBQEHhF5Zfp7 TfUre1MJSPErl0XoWI8ipO5lHTX+RlIDHdPMXLTRyUdeFs0Z8HsBP6QxuJjNomSNAbWf42 J9PgtLc+o6MR2Miv+7062VLHW7DIdjg/i5n3m7DGqAFBov9VY3AhRsR90vbzVQ== 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 4TLL5X6Tzqz1GTf; Thu, 25 Jan 2024 12:40:32 +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: Thu, 25 Jan 2024 13:40:29 +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()) Committed in 05d0f788eb[0] References: [0] https://cgit.FreeBSD.org/ports/commit/?id=05d0f788eb55620df08b9b82a610f20eca3c1b00 Thank you! -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0