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 2021/04/28 00:06:49 UTC

[GitHub] [incubator-mxnet] barry-jin commented on issue #20222: Unable to cross compile for aarch64 cuda with USE_CPP_PACKAGE=ON

barry-jin commented on issue #20222:
URL: https://github.com/apache/incubator-mxnet/issues/20222#issuecomment-827996254


   Hi @cyrusbehr , the cross-compilation issue for CPP-PACKAGE exists since https://github.com/apache/incubator-mxnet/issues/13303, because OpWrapperGenerator.py will try to dlopen libmxnet.so(aarch64 target) on an x86 host. The work around may be compiling twice: Firstly to compile a x86 target and use OpWrapperGenerator.py to generate cpp-package required op.h. Then command out https://github.com/apache/incubator-mxnet/blob/2d9c3b5e0a12bcafeb2f23eb25f5ef40fd7977b9/cpp-package/CMakeLists.txt#L15
   and cross-compile an aarch64 target. 


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