How to make static link glibc?


I have export in Ubuntu and want to deploy on Centos. The problem is that Ubuntu’s glibc version is higher than Centos’s. I know how to static link in normal C/C++ compiling. But how to control llvm in TVM?


You can create a statically linked library using the llvm --system-lib target. Here’s an example of how to do that.