You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/07/20 17:26:54 UTC

[GitHub] [incubator-mxnet] leezu commented on a change in pull request #18622: [WIP] Use RTC for elementwise and broadcast ops

leezu commented on a change in pull request #18622:
URL: https://github.com/apache/incubator-mxnet/pull/18622#discussion_r457573754



##########
File path: ci/docker/Dockerfile.build.jetson
##########
@@ -90,6 +90,9 @@ RUN wget https://repo.download.nvidia.com/jetson/x86_64/pool/r32.4/c/cuda/cuda-c
 # while previously it used to store it at /usr/local/cuda/targets/aarch64-linux/lib/stubs
 RUN ln -s /usr/lib/aarch64-linux-gnu/libcublas.so /usr/local/cuda/targets/aarch64-linux/lib/stubs/libcublas.so
 
+# Need the stub for libcuda.so in a place where host linker can find it to link the unit tests
+RUN ln -s /usr/local/cuda/targets/aarch64-linux/lib/stubs/libcuda.so /usr/lib/aarch64-linux-gnu/libcuda.so

Review comment:
       Do you know why `/usr/local/cuda/targets/aarch64-linux/lib/stubs/libcuda.so` is not detected by cmake? It shouldn't be necessary to create this symlink (it isn't necessary in the non-cross-compile setting). Have you reported a bug in the cmake repository?




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