-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[wasm] upgrade emsdk version to 2.0.23 #7893
Conversation
Good luck! If onnx runtime can be built with llvm 12... GPU part doesn't work. CPU-only code probably is fine. |
Yes and fortunately we are not going to use CUDA in web assembly anyway. |
@@ -629,6 +629,8 @@ if (onnxruntime_BUILD_UNIT_TESTS) | |||
add_subdirectory(${PROJECT_SOURCE_DIR}/external/googletest EXCLUDE_FROM_ALL) | |||
set_msvc_c_cpp_compiler_warning_level(3) | |||
set_target_properties(gmock PROPERTIES FOLDER "External/GTest") | |||
# disable treating all warnings as errors for gmock | |||
target_compile_options(gmock PRIVATE "-w") |
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.
Is this intentionally for all builds?
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.
It's fine. We don't want to and will not fix any of the warnings.
Description: upgrade emsdk to 2.0.23.
-Wno-deprecated-copy
for gmock (otherwise it will fail the build for webassembly)