diff mbox series

mpg123: fix lack of NEON usage on aarch64

Message ID 20260721-fix_mpg123_aarch64_neon-v1-1-b5cc73ff9d10@sonos.com
State New
Headers show
Series mpg123: fix lack of NEON usage on aarch64 | expand

Commit Message

Ivan Nestlerode via B4 Relay July 21, 2026, 8:37 p.m. UTC
From: Ivan Nestlerode <ivan.nestlerode@sonos.com>

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 <ivan.nestlerode@sonos.com>
---
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(+)


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

Best regards,
diff mbox series

Patch

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)} \
 "