You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/09/20 04:49:01 UTC

[GitHub] [incubator-mxnet] szha commented on issue #19193: Amalgamation

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org