-
Notifications
You must be signed in to change notification settings - Fork 36
Update emsdk used to 4.0.18 #753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1455,7 +1455,7 @@ TYPED_TEST(CppInterOpTest, FunctionReflectionTestGetFunctionAddress) { | |
|
|
||
| std::vector<Decl*> Decls; | ||
| std::string code = "int f1(int i) { return i * i; }"; | ||
| std::vector<const char*> interpreter_args = {"-include", "new"}; | ||
| std::vector<const char*> interpreter_args = {"-include", "new", "-Xclang", "-iwithsysroot/include/compat"}; | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given these extra flags are only needed for the Emscripten case, it might be worth making the args dependent on what platform we are targeting. Same for the other test. |
||
|
|
||
| GetAllTopLevelDecls(code, Decls, /*filter_implicitGenerated=*/false, | ||
| interpreter_args); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -142,7 +142,7 @@ TYPED_TEST(CppInterOpTest, InterpreterTestProcess) { | |
| GTEST_SKIP() << "Test fails for OOP JIT builds"; | ||
| if (llvm::sys::RunningOnValgrind()) | ||
| GTEST_SKIP() << "XFAIL due to Valgrind report"; | ||
| std::vector<const char*> interpreter_args = { "-include", "new" }; | ||
| std::vector<const char*> interpreter_args = { "-include", "new", "-Xclang", "-iwithsysroot/include/compat" }; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "std::vector" is directly included [misc-include-cleaner] unittests/CppInterOp/InterpreterTest.cpp:2: + #include <vector> |
||
| auto* I = TestFixture::CreateInterpreter(interpreter_args); | ||
| EXPECT_TRUE(Cpp::Process("") == 0); | ||
| EXPECT_TRUE(Cpp::Process("int a = 12;") == 0); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change has to be made until Emscripten forges emsdk 4x branch is merged into its main.