From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F28AA158066 for ; Wed, 4 Sep 2024 09:22:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1316E29F7; Wed, 4 Sep 2024 09:22:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C384CE29F7 for ; Wed, 4 Sep 2024 09:22:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F32973430E6 for ; Wed, 4 Sep 2024 09:22:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 346881F25 for ; Wed, 4 Sep 2024 09:22:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1725441627.b3d77e54a5ad3a782863e298d5af204a3897e782.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/openpgl/openpgl-0.6.0.ebuild X-VCS-Directories: media-libs/openpgl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b3d77e54a5ad3a782863e298d5af204a3897e782 X-VCS-Branch: master Date: Wed, 4 Sep 2024 09:22:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 20eee605-bd9e-4e2e-97c3-eb949b3d6daa X-Archives-Hash: c936169b6ab049e59d07de331a1ff309 commit: b3d77e54a5ad3a782863e298d5af204a3897e782 Author: Sebastian Parborg blender org> AuthorDate: Mon Sep 2 12:30:52 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Sep 4 09:20:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d77e54 media-libs/openpgl: Fix arm64 cpuflags openpgl requires the NEON ISA to be enabled when compiling for arm64. All arm64 cpus supports NEON so turn them on if arm64 is detected. Regular arm (non 64) is not supported upstream, so we don't add any code for the regular arm arch here Signed-off-by: Sebastian Parborg gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/openpgl/openpgl-0.6.0.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/media-libs/openpgl/openpgl-0.6.0.ebuild b/media-libs/openpgl/openpgl-0.6.0.ebuild index 07d8adf9d845..9cc85402cb51 100644 --- a/media-libs/openpgl/openpgl-0.6.0.ebuild +++ b/media-libs/openpgl/openpgl-0.6.0.ebuild @@ -14,12 +14,11 @@ SLOT="0/$(ver_cut 1-2)" KEYWORDS="-* ~amd64 ~arm64" X86_CPU_FLAGS=( sse4_2 avx2 avx512dq ) -CPU_FLAGS=( cpu_flags_arm_neon "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" ) +CPU_FLAGS=( "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" ) IUSE="${CPU_FLAGS[*]} debug" REQUIRED_USE=" amd64? ( || ( ${X86_CPU_FLAGS[*]/#/cpu_flags_x86_} ) ) - arm64? ( cpu_flags_arm_neon ) " RDEPEND=" @@ -40,13 +39,13 @@ src_configure() { -DOPENPGL_ISA_SSE4="$(usex cpu_flags_x86_sse4_2)" -DOPENPGL_ISA_AVX2="$(usex cpu_flags_x86_avx2)" -DOPENPGL_ISA_AVX512="$(usex cpu_flags_x86_avx512dq)" - -DOPENPGL_ISA_NEON="$(usex cpu_flags_arm_neon)" + -DOPENPGL_ISA_NEON="$(usex arm64)" # TODO look into neon 2x support - # -DOPENPGL_ISA_NEON2X="$(usex cpu_flags_arm_neon2x)" + # -DOPENPGL_ISA_NEON2X="$(usex arm64)" ) # This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully - use cpu_flags_arm_neon && append-flags -flax-vector-conversions + use arm64 && append-flags -flax-vector-conversions # Disable asserts append-cppflags "$(usex debug '' '-DNDEBUG')"