lhez commented on PR #13118:
URL: https://github.com/apache/tvm/pull/13118#issuecomment-1304659114
You can use the original only for NDK versions < 23. From NDK 23, gold is
removed. This is what I have been using for over a year,
```
if(USE_OPENCL)
if (ANDROID_ABI)
- set_property(TARGET tvm_rpc PROPERTY LINK_FLAGS -fuse-ld=gold)
+ if(${ANDROID_NDK_MAJOR} VERSION_LESS "23")
+ set_property(TARGET tvm_rpc PROPERTY LINK_FLAGS -fuse-ld=gold)
+ endif()
endif()
endif()
```
I am also kind of surprised nobody noticed `cpp_rpc` would fail to build on
NDK 23 and forward for over a year.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]