wms2537 commented on issue #17045:
URL: 
https://github.com/apache/incubator-mxnet/issues/17045#issuecomment-705921444


   After some testing, I finally managed to build it. I updated ccache and 
openblas similar to 
   
   > Please ensure your system toolchain is up to date (includes 
https://bugzilla.redhat.com/show_bug.cgi?id=1243559 fix)
   > 
   > You may also simply use the cross-compilation option by installing the 
cross-toolchain on your host system analogous to
   > 
   > 
https://github.com/apache/incubator-mxnet/blob/95f5cc60904a2d88d4861fff0f6dbad15f8cdbe3/ci/docker/Dockerfile.build.jetson#L41-L91
   
   Then, I restarted the jetson and built it with these commands
   
   > Could you try matching the following build configuration (modulo 
DCMAKE_TOOLCHAIN_FILE and the CUDA version)
   > 
   > 
https://github.com/apache/incubator-mxnet/blob/db171a89c5e7e0d651ae1578bd8ae8da953417cc/ci/docker/runtime_functions.sh#L140-L155
   > 
   > Ie. our test suite builds for jetson without opencv and without lapack 
feature. You may also want to try ensure that you specify the `cmake 
-DCMAKE_BUILD_TYPE=Release` option when configuring the build.
   
   I also added a 8GB swap so that I can build with all 6 cores.
   
   Based on the changes above, I don't know which is the main cause that solved 
the issue. Thanks @leezu for your help.


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