forked from pool/nodejs18
Adam Majer
38fc9b6db2
since previous versions, see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V18.md#18.2.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=1
76 lines
1.9 KiB
Diff
76 lines
1.9 KiB
Diff
Purpose of these dependencies is to make sure that the linker
|
|
is run serially over these binaries instead of in parallel.
|
|
OBS workers run out of memory as each executable seems to require
|
|
upward of 5G RAM
|
|
|
|
Index: node-v14.9.0/node.gyp
|
|
===================================================================
|
|
--- node-v14.9.0.orig/node.gyp
|
|
+++ node-v14.9.0/node.gyp
|
|
@@ -1258,20 +1258,21 @@
|
|
'target_name': 'embedtest',
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
|
'<(node_lib_target_name)',
|
|
'deps/histogram/histogram.gyp:histogram',
|
|
'deps/uvwasi/uvwasi.gyp:uvwasi',
|
|
'node_dtrace_header',
|
|
'node_dtrace_ustack',
|
|
'node_dtrace_provider',
|
|
+ 'cctest',
|
|
],
|
|
|
|
'includes': [
|
|
'node.gypi'
|
|
],
|
|
|
|
'include_dirs': [
|
|
'src',
|
|
'tools/msvs/genfiles',
|
|
'deps/v8/include',
|
|
@@ -1317,20 +1318,21 @@
|
|
# So generate_code_cache -> mkcodecache -> node_lib_base,
|
|
# node_lib -> node_lib_base & generate_code_cache
|
|
{
|
|
'target_name': 'mkcodecache',
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
|
'<(node_lib_target_name)',
|
|
'deps/histogram/histogram.gyp:histogram',
|
|
'deps/uvwasi/uvwasi.gyp:uvwasi',
|
|
+ 'embedtest',
|
|
],
|
|
|
|
'includes': [
|
|
'node.gypi'
|
|
],
|
|
|
|
'include_dirs': [
|
|
'src',
|
|
'tools/msvs/genfiles',
|
|
'deps/v8/include',
|
|
@@ -1372,20 +1374,21 @@
|
|
],
|
|
}, # mkcodecache
|
|
{
|
|
'target_name': 'node_mksnapshot',
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
|
'<(node_lib_target_name)',
|
|
'deps/histogram/histogram.gyp:histogram',
|
|
'deps/uvwasi/uvwasi.gyp:uvwasi',
|
|
+ 'mkcodecache'
|
|
],
|
|
|
|
'includes': [
|
|
'node.gypi'
|
|
],
|
|
|
|
'include_dirs': [
|
|
'src',
|
|
'tools/msvs/genfiles',
|
|
'deps/v8/include',
|