Skip to content

Commit

Permalink
deps: add simdutf dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Dec 9, 2022
1 parent 265ea1e commit 4269faf
Show file tree
Hide file tree
Showing 7 changed files with 30,508 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -170,6 +170,7 @@ with-code-cache test-code-cache:

out/Makefile: config.gypi common.gypi node.gyp \
deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \
deps/simdutf/simdutf.gyp \
tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \
tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp
$(PYTHON) tools/gyp_node.py -f make
Expand Down
27,967 changes: 27,967 additions & 0 deletions deps/simdutf/simdutf.cpp

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions deps/simdutf/simdutf.gyp
@@ -0,0 +1,27 @@
{
'targets': [
{
'target_name': 'simdutf',
'type': 'static_library',
'include_dirs': ['.'],
'sources': ['simdutf.cpp'],
'cflags': [ '-Wno-unused-function' ],
'conditions': [
[ 'OS!="win"', {
'cflags': [ '-mavx' ],
'xcode_settings': {
'OTHER_CFLAGS': [ '-mavx' ]
},
}, {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
'/arch:AVX'
],
},
},
}],
],
},
]
}

0 comments on commit 4269faf

Please sign in to comment.