diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-02-12 13:53:51 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-12 18:34:14 -0800 |
| commit | f243a341e2eb66b6b0d3987b26d3d59cfa5ea0f0 (patch) | |
| tree | 1db352462c1efc8e31cb2b3d2eea81b63b3d9260 /meta-python/recipes-devtools/python/python3-pyu2f_0.1.5.bb | |
| parent | f7f0ff2210cfc74eb23fc40ff8fe626f5457ba19 (diff) | |
| download | meta-openembedded-f243a341e2eb66b6b0d3987b26d3d59cfa5ea0f0.tar.gz | |
nodejs: detect NEON correctly for aarch64
The llhttp vendored dependency of nodejs takes advantage of Arm NEON
instructions when they are available, however they are detected by
checking for an outdated CPU feature macro: it checks for __ARM_NEON__,
however it is not defined by new compilers for aarch64, rather they
set __ARM_NEON. The Arm C extension guide[1] refers to __ARM_NEON macro
aswell.
This patch changes the detection to check for both macros when detecting
the availability of NEON instructions.
The code this patch modifies is generated, so the patch itself isn't
suitable for upstream submission, as the root cause of the error is
in the generator itself. A PR has been submitted[2] to the generator
project to rectify this issue.
[1]: https://developer.arm.com/documentation/ihi0053/d/ - pdf, section 6.9
[2]: https://github.com/nodejs/llparse/pull/84
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyu2f_0.1.5.bb')
0 files changed, 0 insertions, 0 deletions
