Skip to content
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

Merged
merged 3 commits into from
Jun 2, 2021
Merged

Conversation

fs-eire
Copy link
Contributor

@fs-eire fs-eire commented May 30, 2021

Description: upgrade emsdk to 2.0.23.

  • libcxx updated to llvm-12
  • add flag -Wno-deprecated-copy for gmock (otherwise it will fail the build for webassembly)
  • re-patch file_packager.py

@fs-eire fs-eire requested a review from a team as a code owner May 30, 2021 06:13
@snnn
Copy link
Member

snnn commented Jun 1, 2021

Good luck! If onnx runtime can be built with llvm 12...

GPU part doesn't work. CPU-only code probably is fine.

@fs-eire
Copy link
Contributor Author

fs-eire commented Jun 1, 2021

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.

cmake/CMakeLists.txt Outdated Show resolved Hide resolved
@@ -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")
Copy link
Contributor

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?

Copy link
Member

@snnn snnn Jun 2, 2021

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.

@fs-eire fs-eire merged commit faae347 into master Jun 2, 2021
@fs-eire fs-eire deleted the fs-eire/update-emsdk branch June 2, 2021 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants