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:
[email protected]



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

Reply via email to