From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/
Date: Wed, 4 Sep 2024 09:22:02 +0000 (UTC) [thread overview]
Message-ID: <1725441627.b3d77e54a5ad3a782863e298d5af204a3897e782.sam@gentoo> (raw)
commit: b3d77e54a5ad3a782863e298d5af204a3897e782
Author: Sebastian Parborg <sebastian <AT> blender <DOT> org>
AuthorDate: Mon Sep 2 12:30:52 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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')"
next reply other threads:[~2024-09-04 9:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 9:22 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-06 6:52 [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/ Joonas Niilola
2024-09-05 2:12 Sam James
2024-09-05 2:12 Sam James
2024-09-05 2:12 Sam James
2024-04-12 13:08 Joonas Niilola
2024-04-09 14:44 Sam James
2023-07-16 18:46 Sam James
2023-05-09 17:51 Sam James
2023-04-16 3:30 Sam James
2023-04-16 3:30 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1725441627.b3d77e54a5ad3a782863e298d5af204a3897e782.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox