leezu edited a comment on issue #17761: cmake stuck in infinite loop at 
configuration if nvcc is not found
URL: 
https://github.com/apache/incubator-mxnet/issues/17761#issuecomment-594929384
 
 
   The search behavio for CUDAToolkit is specified in 
https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindCUDAToolkit.cmake
 In general, it relies on the location of nvcc, so it may get confused by  
`/usr/local/bin/nvcc`. It's a strange location to have nvcc at. Did you install 
the cuda libraries also to `/usr/local`? Usually they are at `/usr/local/cuda`.
   
   The infinite loop issue is a separate issue and should be fixed by #17773.

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


With regards,
Apache Git Services

Reply via email to