From: Ivan Nestlerode <[email protected]>

Fixes [YOCTO #16359]

mpg123 supports specific --with-cpu= configure options to use NEON
instructions, but this recipe was not using any of these on aarch64.
The problem is that it was only keying off of whether TUNE_FEATURES
contains "neon". aarch64 never puts "neon" into TUNE_FEATURES so it
has to be checked separately.

Use --with-cpu=neon64 on aarch64.

Signed-off-by: Ivan Nestlerode <[email protected]>
---
The mpg123 recipe has a bug on aarch64 that makes it not use NEON.
This patch series fixes that bug.
---
 meta/recipes-multimedia/mpg123/mpg123_1.33.6.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-multimedia/mpg123/mpg123_1.33.6.bb 
b/meta/recipes-multimedia/mpg123/mpg123_1.33.6.bb
index f07e6dbcd3..7fa048c9fc 100644
--- a/meta/recipes-multimedia/mpg123/mpg123_1.33.6.bb
+++ b/meta/recipes-multimedia/mpg123/mpg123_1.33.6.bb
@@ -42,6 +42,7 @@ EXTRA_OECONF = " \
     --enable-largefile \
     --with-audio='${AUDIOMODS}' \
     ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-cpu=neon', '', d)} \
+    ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--with-cpu=neon64', '', 
d)} \
     ${@bb.utils.contains('TUNE_FEATURES', 'altivec', '--with-cpu=altivec', '', 
d)} \
     ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-cpu=generic_nofpu', '', 
d)} \
 "

---
base-commit: a4eb7bc2a750f76d9772eb88b7afb2b801bd1250
change-id: 20260721-fix_mpg123_aarch64_neon-34f03d321b41

Best regards,
-- 
Ivan Nestlerode <[email protected]>


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241576): 
https://lists.openembedded.org/g/openembedded-core/message/241576
Mute This Topic: https://lists.openembedded.org/mt/120383946/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to