Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c9845fc

Browse filesBrowse files
anonrigjuanarbol
authored andcommitted
deps: add simdutf dependency
PR-URL: #45803 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 9ca31cd commit c9845fc
Copy full SHA for c9845fc

File tree

Expand file treeCollapse file tree

12 files changed

+30637
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

12 files changed

+30637
-0
lines changed
Open diff view settings
Collapse file

‎.github/workflows/tools.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/tools.yml
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,16 @@ jobs:
125125
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
126126
./tools/dep_updaters/update-libuv.sh "$NEW_VERSION"
127127
fi
128+
- id: simdutf
129+
subsystem: deps
130+
label: dependencies
131+
run: |
132+
NEW_VERSION=$(gh api repos/simdutf/simdutf/releases/latest -q '.tag_name|ltrimstr("v")')
133+
CURRENT_VERSION=$(grep "#define SIMDUTF_VERSION" ./deps/simdutf/simdutf.h | sed -n "s/^.*VERSION \(.*\)/\1/p")
134+
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
135+
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
136+
./tools/update-simdutf.sh "$NEW_VERSION"
137+
fi
128138
steps:
129139
- uses: actions/checkout@v3
130140
with:
Collapse file

‎LICENSE‎

Copy file name to clipboardExpand all lines: LICENSE
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,6 +1316,28 @@ The externally maintained libraries used by Node.js are:
13161316
jloup@gzip.org madler@alumni.caltech.edu
13171317
"""
13181318

1319+
- simdutf, located at deps/simdutf, is licensed as follows:
1320+
"""
1321+
Copyright 2021 The simdutf authors
1322+
1323+
Permission is hereby granted, free of charge, to any person obtaining a copy of
1324+
this software and associated documentation files (the "Software"), to deal in
1325+
the Software without restriction, including without limitation the rights to
1326+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
1327+
the Software, and to permit persons to whom the Software is furnished to do so,
1328+
subject to the following conditions:
1329+
1330+
The above copyright notice and this permission notice shall be included in all
1331+
copies or substantial portions of the Software.
1332+
1333+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1334+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1335+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
1336+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1337+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1338+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1339+
"""
1340+
13191341
- npm, located at deps/npm, is licensed as follows:
13201342
"""
13211343
The npm application
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+1Lines changed: 1 addition & 0 deletions
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
Collapse file

‎deps/simdutf/LICENSE-MIT‎

Copy file name to clipboard
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright 2021 The simdutf authors
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7+
the Software, and to permit persons to whom the Software is furnished to do so,
8+
subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Collapse file

‎deps/simdutf/README.md‎

Copy file name to clipboard
+13Lines changed: 13 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# simdutf
2+
3+
This project boosts unicode validation and transcoding performance by
4+
utilizing SIMD operations where possible.
5+
6+
The source is pulled from: https://github.com/simdutf/simdutf
7+
8+
Active development occurs in the default branch (currently named `master`).
9+
10+
## Updating
11+
12+
See [tools/dep_updaters/README.md#simdutf](../../tools/dep_updaters/README.md#simdutf)
13+
for instructions.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.