szha commented on issue #19193:
URL: 
https://github.com/apache/incubator-mxnet/issues/19193#issuecomment-695729059


   Amalgamation is still available in 
[v1.x](https://github.com/apache/incubator-mxnet/tree/v1.x/amalgamation).
   
   In terms of generating a single binary to link to that minimizes dependency, 
you could use `-DMXNET_BUILD_SHARED_LIBS=OFF` to build static library of mxnet 
with `.a` extension, link to it, and strip all symbols that weren't used. On 
linux, you can use `strip --strip-unneeded` on your final library so file for 
this purpose.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to