mirror of https://github.com/nodejs/node.git
build: compile bundled simdutf conditionally
The --shared-simdutf 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>pull/56329/head
parent
826fd35242
commit
8d70b99a5a
9
node.gyp
9
node.gyp
|
@ -857,7 +857,6 @@
|
|||
'dependencies': [
|
||||
'deps/googletest/googletest.gyp:gtest_prod',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/simdutf/simdutf.gyp:simdutf',
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
'node_js2c#host',
|
||||
],
|
||||
|
@ -1179,7 +1178,6 @@
|
|||
'deps/googletest/googletest.gyp:gtest',
|
||||
'deps/googletest/googletest.gyp:gtest_main',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/simdutf/simdutf.gyp:simdutf',
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
],
|
||||
|
||||
|
@ -1331,9 +1329,6 @@
|
|||
'target_name': 'node_js2c',
|
||||
'type': 'executable',
|
||||
'toolsets': ['host'],
|
||||
'dependencies': [
|
||||
'deps/simdutf/simdutf.gyp:simdutf#host',
|
||||
],
|
||||
'include_dirs': [
|
||||
'tools',
|
||||
'src',
|
||||
|
@ -1345,6 +1340,9 @@
|
|||
'src/embedded_data.cc',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'node_shared_simdutf=="false"', {
|
||||
'dependencies': [ 'deps/simdutf/simdutf.gyp:simdutf#host' ],
|
||||
}],
|
||||
[ 'node_shared_libuv=="false"', {
|
||||
'dependencies': [ 'deps/uv/uv.gyp:libuv#host' ],
|
||||
}],
|
||||
|
@ -1371,7 +1369,6 @@
|
|||
'<(node_lib_target_name)',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
'deps/simdutf/simdutf.gyp:simdutf',
|
||||
],
|
||||
|
||||
'includes': [
|
||||
|
|
Loading…
Reference in New Issue