-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Fix the building error in android_deploy #1262
Conversation
src/runtime/thread_pool.cc
Outdated
@@ -69,14 +69,14 @@ class ParallelLauncher { | |||
tvm::runtime::threading::Yield(); | |||
} | |||
if (!has_error_.load()) return 0; | |||
std::string err(""); | |||
std::stringstream err; |
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 is intended to use string, due to security issues raised in SGX backend, please revert this change and add a comment about it
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.
std::stringstream was banned by sgx backend and we need it here
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.
I reverted this change and add a comment. Then I changed APP_STL to avoid the building error. Please review again.
* Fix a link in android_deploy/README.md and a error while building android_deploy. * revert and change APP_STL in Application.mk
* Fix a link in android_deploy/README.md and a error while building android_deploy. * revert and change APP_STL in Application.mk
* Fix a link in android_deploy/README.md and a error while building android_deploy. * revert and change APP_STL in Application.mk
Fix the following error while doing
gradle build
and the document url in README.Please review. @tqchen @PariksheetPinjari909