Skip to content

Commit bed88cc

Browse files
committed
deps: add simdutf dependency
1 parent 265ea1e commit bed88cc

File tree

7 files changed

+30500
-1
lines changed

7 files changed

+30500
-1
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ with-code-cache test-code-cache:
170170

171171
out/Makefile: config.gypi common.gypi node.gyp \
172172
deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \
173+
deps/simdutf/simdutf.gyp \
173174
tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \
174175
tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp
175176
$(PYTHON) tools/gyp_node.py -f make

deps/simdutf/simdutf.cpp

+27,967
Large diffs are not rendered by default.

deps/simdutf/simdutf.gyp

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
'targets': [
3+
{
4+
'target_name': 'simdutf',
5+
'type': 'static_library',
6+
'include_dirs': ['.'],
7+
'sources': ['simdutf.cpp'],
8+
'cflags': [ '-Wno-unused-function' ],
9+
'conditions': [
10+
[ 'OS!="win"', {
11+
'cflags': [ '-mavx' ],
12+
'xcode_settings': {
13+
'OTHER_CFLAGS': [ '-mavx' ]
14+
},
15+
}],
16+
]
17+
},
18+
]
19+
}

0 commit comments

Comments
 (0)