forked from OpenDingux/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package/nodejs: bump version to 20.9.0
- Refactor 0001-add-qemu-wrapper-support.patch for 20.9.0 - NodeJS now requires GCC 10.1 header. However, as there is no BR2_TOOLCHAIN_GCC_AT_LEAST_10_1, we round up to BR2_TOOLCHAIN_GCC_AT_LEAST_11. - Drop the --without-dtrace and --without-etw config options as they no longer exist. - Update support/testing/tests/package/test_nodejs.py to use BR2_TOOLCHAIN_EXTERNAL_BOOTLIN, otherwise the test fails as the gcc version selected will be 7. - Update the hash file for LICENSE.txt due to numerous changes, such as the addition of new libraries and updated dates. No new license types are added. Tested with: ./support/testing/run-tests tests.package.test_nodejs Signed-off-by: Adam Duskett <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
- Loading branch information
1 parent
da88933
commit c1d5ead
Showing
7 changed files
with
50 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,26 +15,18 @@ qemu-wrapper, so add @MAYBE_WRAPPER@ to the needed files and sed the path to | |
the qemu-wrapper on target builds, and remove @MAYBE_WRAPPER@ entirely on | ||
host-builds. | ||
|
||
[Adam: Update for 20.9.0] | ||
Signed-off-by: Adam Duskett <[email protected]> | ||
--- | ||
node.gyp | 4 ++-- | ||
node.gyp | 6 ++++-- | ||
tools/v8_gypfiles/v8.gyp | 10 +++++----- | ||
2 files changed, 7 insertions(+), 7 deletions(-) | ||
2 files changed, 9 insertions(+), 7 deletions(-) | ||
|
||
diff --git a/node.gyp b/node.gyp | ||
index 97cdbb531d..db5cf51ce6 100644 | ||
--- a/node.gyp | ||
+++ b/node.gyp | ||
@@ -319,7 +319,7 @@ | ||
'action_name': 'run_mkcodecache', | ||
'process_outputs_as_sources': 1, | ||
'inputs': [ | ||
- '<(mkcodecache_exec)', | ||
+ @MAYBE_WRAPPER@ '<(mkcodecache_exec)', | ||
], | ||
'outputs': [ | ||
'<(SHARED_INTERMEDIATE_DIR)/node_code_cache.cc', | ||
@@ -346,7 +346,7 @@ | ||
@@ -662,7 +662,7 @@ | ||
'action_name': 'node_mksnapshot', | ||
'process_outputs_as_sources': 1, | ||
'inputs': [ | ||
|
@@ -43,11 +35,36 @@ index 97cdbb531d..db5cf51ce6 100644 | |
'<(node_snapshot_main)', | ||
], | ||
'outputs': [ | ||
@@ -682,7 +682,7 @@ | ||
'action_name': 'node_mksnapshot', | ||
'process_outputs_as_sources': 1, | ||
'inputs': [ | ||
- '<(node_mksnapshot_exec)', | ||
+ @MAYBE_WRAPPER@ '<(node_mksnapshot_exec)', | ||
], | ||
'outputs': [ | ||
'<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc', | ||
@@ -966,6 +966,7 @@ | ||
'action_name': 'node_js2c', | ||
'process_outputs_as_sources': 1, | ||
'inputs': [ | ||
+ @MAYBE_WRAPPER@ | ||
'<(node_js2c_exec)', | ||
'<@(library_files)', | ||
'<@(deps_files)', | ||
@@ -975,6 +976,7 @@ | ||
'<(SHARED_INTERMEDIATE_DIR)/node_javascript.cc', | ||
], | ||
'action': [ | ||
+ @MAYBE_WRAPPER@ | ||
'<(node_js2c_exec)', | ||
'<@(_outputs)', | ||
'lib', | ||
diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp | ||
index 73099a03e4..88ca91efb4 100644 | ||
--- a/tools/v8_gypfiles/v8.gyp | ||
+++ b/tools/v8_gypfiles/v8.gyp | ||
@@ -68,7 +68,7 @@ | ||
@@ -81,7 +81,7 @@ | ||
{ | ||
'action_name': 'run_torque_action', | ||
'inputs': [ # Order matters. | ||
|
@@ -56,7 +73,7 @@ index 73099a03e4..88ca91efb4 100644 | |
'<@(torque_files)', | ||
], | ||
'outputs': [ | ||
@@ -99,7 +99,7 @@ | ||
@@ -112,7 +112,7 @@ | ||
'<@(torque_outputs_inc)', | ||
], | ||
'action': [ | ||
|
@@ -65,7 +82,7 @@ index 73099a03e4..88ca91efb4 100644 | |
'-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated', | ||
'-v8-root', '<(V8_ROOT)', | ||
'<@(torque_files_without_v8_root)', | ||
@@ -211,7 +211,7 @@ | ||
@@ -224,7 +224,7 @@ | ||
{ | ||
'action_name': 'generate_bytecode_builtins_list_action', | ||
'inputs': [ | ||
|
@@ -74,7 +91,7 @@ index 73099a03e4..88ca91efb4 100644 | |
], | ||
'outputs': [ | ||
'<(generate_bytecode_builtins_list_output)', | ||
@@ -395,7 +395,7 @@ | ||
@@ -401,7 +401,7 @@ | ||
], | ||
}, | ||
'inputs': [ | ||
|
@@ -83,7 +100,7 @@ index 73099a03e4..88ca91efb4 100644 | |
], | ||
'outputs': [ | ||
'<(INTERMEDIATE_DIR)/snapshot.cc', | ||
@@ -1505,7 +1505,7 @@ | ||
@@ -1660,7 +1660,7 @@ | ||
{ | ||
'action_name': 'run_gen-regexp-special-case_action', | ||
'inputs': [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
# From https://nodejs.org/dist/v16.20.0/SHASUMS256.txt.asc | ||
sha256 aca4794ca60f2e17689a700eeaa95d7adcd5fd01cdd2e4f9d596ac41b600b796 node-v16.20.0-linux-arm64.tar.xz | ||
sha256 5b79addab37bbdc31b442f8e648efad0b5d3aa5f3e0d682f23f4db483408eb2a node-v16.20.0-linux-armv7l.tar.xz | ||
sha256 b439a8f874e8c2fad287ba75a3229407551f5ff9eb41e45e43e9bf67f184f618 node-v16.20.0-linux-ppc64le.tar.xz | ||
sha256 dff21020b555cc165a1ac36da7d4f6c810b35409c94e00afc51d5d370aae47ae node-v16.20.0-linux-x64.tar.xz | ||
sha256 e0990f992234e40a51fe11f92c3816c93a77e1b081145d3dd762cd1026345349 node-v16.20.0.tar.xz | ||
|
||
# From https://nodejs.org/dist/v20.9.0/SHASUMS256.txt.asc | ||
sha256 ced3ecece4b7c3a664bca3d9e34a0e3b9a31078525283a6fdb7ea2de8ca5683b node-v20.9.0-linux-arm64.tar.xz | ||
sha256 64099d7e62bdbb8efd52c216a6759b3cdd77c38aa993096fdee9f875d95b2d8e node-v20.9.0-linux-armv7l.tar.xz | ||
sha256 3c6cea5d614cfbb95d92de43fbc2f8ecd66e431502fe5efc4f3c02637897bd45 node-v20.9.0-linux-ppc64le.tar.xz | ||
sha256 9033989810bf86220ae46b1381bdcdc6c83a0294869ba2ad39e1061f1e69217a node-v20.9.0-linux-x64.tar.xz | ||
sha256 a23d96810abf0455426b349d47ce5310f33095b7bc0571b9cc510f481c3a4519 node-v20.9.0.tar.xz | ||
# Locally calculated | ||
sha256 ba325815d3df8819bebaf37cad67d6e1f82271e1e4a1189b53abd28e261977d6 LICENSE | ||
sha256 a6871483905199033882d66453649675f0e88ffaa07f9f8acb257ce7504bc758 LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters