0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 21:19:50 +01:00

build: compile bundled simdjson conditionally

The --shared-simdjson flag was introduced in #52924, but the
implementation was incomplete.

Resolves #52914

PR-URL: https://github.com/nodejs/node/pull/55886
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
Jakub Jirutka 2024-11-16 19:13:46 +01:00 committed by Node.js GitHub Bot
parent 88719f6800
commit dd15563a47
2 changed files with 4 additions and 3 deletions

View File

@ -849,7 +849,6 @@
'dependencies': [ 'dependencies': [
'deps/googletest/googletest.gyp:gtest_prod', 'deps/googletest/googletest.gyp:gtest_prod',
'deps/histogram/histogram.gyp:histogram', 'deps/histogram/histogram.gyp:histogram',
'deps/simdjson/simdjson.gyp:simdjson',
'deps/simdutf/simdutf.gyp:simdutf', 'deps/simdutf/simdutf.gyp:simdutf',
'deps/nbytes/nbytes.gyp:nbytes', 'deps/nbytes/nbytes.gyp:nbytes',
'node_js2c#host', 'node_js2c#host',
@ -1171,7 +1170,6 @@
'deps/googletest/googletest.gyp:gtest', 'deps/googletest/googletest.gyp:gtest',
'deps/googletest/googletest.gyp:gtest_main', 'deps/googletest/googletest.gyp:gtest_main',
'deps/histogram/histogram.gyp:histogram', 'deps/histogram/histogram.gyp:histogram',
'deps/simdjson/simdjson.gyp:simdjson',
'deps/simdutf/simdutf.gyp:simdutf', 'deps/simdutf/simdutf.gyp:simdutf',
'deps/nbytes/nbytes.gyp:nbytes', 'deps/nbytes/nbytes.gyp:nbytes',
], ],
@ -1364,7 +1362,6 @@
'<(node_lib_target_name)', '<(node_lib_target_name)',
'deps/histogram/histogram.gyp:histogram', 'deps/histogram/histogram.gyp:histogram',
'deps/nbytes/nbytes.gyp:nbytes', 'deps/nbytes/nbytes.gyp:nbytes',
'deps/simdjson/simdjson.gyp:simdjson',
'deps/simdutf/simdutf.gyp:simdutf', 'deps/simdutf/simdutf.gyp:simdutf',
], ],

View File

@ -216,6 +216,10 @@
'dependencies': [ 'deps/ada/ada.gyp:ada' ], 'dependencies': [ 'deps/ada/ada.gyp:ada' ],
}], }],
[ 'node_shared_simdjson=="false"', {
'dependencies': [ 'deps/simdjson/simdjson.gyp:simdjson' ],
}],
[ 'node_shared_brotli=="false"', { [ 'node_shared_brotli=="false"', {
'dependencies': [ 'deps/brotli/brotli.gyp:brotli' ], 'dependencies': [ 'deps/brotli/brotli.gyp:brotli' ],
}], }],