Skip to content

Commit fe2652b

Browse files
committed
simd的程序更新-在旧版的ubuntu上可能安装的时候是安装libv8而不是libnode,因此可能还需要改回来,但是在ubuntu22上的v8相关的库只有这3个
1 parent effed65 commit fe2652b

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,3 @@
134134
[submodule "thirdparty/boost"]
135135
path = thirdparty/boost
136136
url = https://github.com/boostorg/boost.git
137-
[submodule "thirdparty/json-parser"]
138-
path = thirdparty/json-parser
139-
url = https://github.com/json-parser/json-parser.git

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"typeindex": "cpp",
8888
"typeinfo": "cpp",
8989
"valarray": "cpp",
90-
"variant": "cpp"
90+
"variant": "cpp",
91+
"rope": "cpp"
9192
}
9293
}

build/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function gmake_common()
5050

5151
if (os.findlib("v8")) then
5252
defines { "HAS_V8=1" }
53-
links { "v8_base", "v8_libbase", "v8_libplatform", "v8_nosnapshot" }
53+
links { "v8_libbase", "v8_libplatform", "v8_libsampler" }
5454
end
5555

5656
if (os.findlib("libcpprest")) then

src/tests/simdjsontest.cpp~ renamed to src/tests/simdjsontest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ class SimdTest : public TestBase {
124124

125125
bool ParseString(const char *j, std::string &s) const override {
126126
simdjson::error_code error;
127+
simdjson::dom::parser parser;
127128
std::string_view answer;
128129
parser.parse(j,strlen(j))
129130
.at(0)

0 commit comments

Comments
 (0)