You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/11/08 05:50:37 UTC
[GitHub] [tvm] srkreddy1238 commented on a diff in pull request #13305: [CPP_RPC][ANDROID] Fix cpp_rpc build failure
srkreddy1238 commented on code in PR #13305:
URL: https://github.com/apache/tvm/pull/13305#discussion_r1016169015
##########
apps/cpp_rpc/CMakeLists.txt:
##########
@@ -32,6 +32,14 @@ if (OS)
endif()
endif()
+if(USE_OPENCL)
+ if (ANDROID_ABI)
+ if($ENV{ANDROID_NDK_MAJOR} VERSION_LESS "23")
+ set_property(TARGET tvm_rpc PROPERTY LINK_FLAGS -fuse-ld=gold)
Review Comment:
Yes, ```-fuse-ld=gold``` helps to find the lib and link it properly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org