[Android] TVM on Android too old to build?

I was curious about TVM demos on Android. I followed the instructions in the readme(s) to build TVM4J, also tried the docker version…

Nothing builds. The maven scripts seem to be using an old version of JDK (v. 1.8). javah has been deprecated just after. The docker build does use that version but building TVM on that old ubuntu 16.04 and gcc-5 creates an internal compiler error.

I wonder if anyone has tried TVM on Android with latest code, any tips?


1 Like

I think TVM4J is too complex. If you familiar with jni you can use cpp_rpc
Here is a Android cpp_rpc sample ,you need modify something

1 Like

Thanks. Yes that’s what I ended up trying.