How to use libtvm.so in other project?

libtvm.so libtvm_runtime.so I want to use tvm code in other projects, so How do I use those .so file to link?

if you want to deploy on the device, you just need the libtvm_runtime.so.

For a complete example check out tvm/apps/howto_deploy at main · apache/tvm · GitHub, it has a full application that goes from building a model with tvm to deploying it with libtvm_runtime.so, including a Makefile with the relevant commands