mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
143d18269c
Add Node.js 24.16.0 [1] recipe based on 22.22.3. Patches reviewed against
the 24.15.0 source tree and rebased where needed:
- 0001: rebased for Makefile changes (common_node.gypi removed, line
offsets shifted); merged with Disable-running-gyp-files patch since
both modify the same Makefile hunk. Remove deps/simdutf/simdutf.gyp;
no longer vendored here.
- 0005: rebased for v8.gyp libatomic condition change (clang condition
folded upstream, ppc removed)
- v24.16.0 bumps bundled llhttp to 9.3.1 (LLHTTP_VERSION_MAJOR/MINOR/PATCH
= 9/3/1 in deps/llhttp/include/llhttp.h).
Five patches dropped as no longer needed:
- build-remove-redundant-mXX-flags-for-V8: backport already merged
upstream in Node.js 24
- ppc64-Do-not-use-mminimal-toc-with-clang: Node.js 24 common.gypi
already gates -mminimal-toc behind clang==0
- fix-arm-Neon-intrinsics-types: the v24.16.0 source already uses
vandq_u8/vorrq_u8 and vshrn_n_u16(vreinterpretq_u16_u8(mask), 4).
- detect-aarch64-Neon-correctly: #ifdef __ARM_NEON__ →
#if defined(__ARM_NEON__) || defined(__ARM_NEON) — already present
at lines 13 and 2628.
- llhttp-fix-NEON-header-value-__builtin_ctzll-undefin: wanted the
match_mask == 0 guard around __builtin_ctzll — already present.
"This patch can be dropped when nodejs updates its bundled llhttp
to >= 9.3.1.")
Remaining 9 patches renumbered sequentially 0001-0009. All verified to
apply cleanly against the v24.16.0 source tarball.
NOTE: The "current" release is v26.2.0 [1], but this is not yet an LTS
release. Application stacks frequently lag new releases, so
it makes sense to have support for the v24 LTS release.
[1] https://nodejs.org/en/blog/release/v24.16.0
[2] https://nodejs.org/en/blog/release/v26.2.0
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
95 lines
3.2 KiB
Diff
95 lines
3.2 KiB
Diff
From 6c3ac20477a4bac643088f24df3c042e627fafa9 Mon Sep 17 00:00:00 2001
|
|
From: Guillaume Burel <guillaume.burel@stormshield.eu>
|
|
Date: Fri, 3 Jan 2020 11:25:54 +0100
|
|
Subject: [PATCH] Using native binaries
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Originally added in:
|
|
https://git.openembedded.org/meta-openembedded/commit/?id=1c8e4a679ae382f953b2e5c7a4966a4646314f3e
|
|
later extended and renamed in:
|
|
https://git.openembedded.org/meta-openembedded/commit/?id=feeb172d1a8bf010490d22b8df9448b20d9d2aed
|
|
|
|
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
|
|
---
|
|
node.gyp | 3 +
|
|
tools/v8_gypfiles/v8.gyp | 5 +++++
|
|
2 files changed, 6 insertions(+)
|
|
|
|
diff --git a/node.gyp b/node.gyp
|
|
index e8e1d9f9..e60ccc10 100644
|
|
--- a/node.gyp
|
|
+++ b/node.gyp
|
|
@@ -320,6 +320,7 @@
|
|
'action_name': 'node_mksnapshot',
|
|
'process_outputs_as_sources': 1,
|
|
'inputs': [
|
|
+ '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
|
|
'<(node_mksnapshot_exec)',
|
|
'<(node_snapshot_main)',
|
|
],
|
|
@@ -935,6 +935,7 @@
|
|
'action_name': 'node_js2c',
|
|
'process_outputs_as_sources': 1,
|
|
'inputs': [
|
|
+ '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
|
|
'<(node_js2c_exec)',
|
|
'<@(library_files)',
|
|
'<@(deps_files)',
|
|
@@ -944,6 +945,7 @@
|
|
'<(SHARED_INTERMEDIATE_DIR)/node_javascript.cc',
|
|
],
|
|
'action': [
|
|
+ '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
|
|
'<(node_js2c_exec)',
|
|
'<@(_outputs)',
|
|
'lib',
|
|
|
|
diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
|
|
index 42e26cd9..bc721991 100644
|
|
--- a/tools/v8_gypfiles/v8.gyp
|
|
+++ b/tools/v8_gypfiles/v8.gyp
|
|
@@ -68,6 +68,7 @@
|
|
{
|
|
'action_name': 'run_torque_action',
|
|
'inputs': [ # Order matters.
|
|
+ '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
|
|
'<@(torque_files)',
|
|
],
|
|
@@ -99,6 +100,7 @@
|
|
'<@(torque_outputs_inc)',
|
|
],
|
|
'action': [
|
|
+ '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)',
|
|
'-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated',
|
|
'-v8-root', '<(V8_ROOT)',
|
|
@@ -211,6 +213,7 @@
|
|
{
|
|
'action_name': 'generate_bytecode_builtins_list_action',
|
|
'inputs': [
|
|
+ '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bytecode_builtins_list_generator<(EXECUTABLE_SUFFIX)',
|
|
],
|
|
'outputs': [
|
|
@@ -400,6 +403,7 @@
|
|
],
|
|
},
|
|
'inputs': [
|
|
+ '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
|
|
'<(mksnapshot_exec)',
|
|
],
|
|
'outputs': [
|
|
@@ -1539,6 +1543,7 @@
|
|
{
|
|
'action_name': 'run_gen-regexp-special-case_action',
|
|
'inputs': [
|
|
+ '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen-regexp-special-case<(EXECUTABLE_SUFFIX)',
|
|
],
|
|
'outputs': [
|
|
--
|
|
2.34.1
|
|
|