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
 
 
   Where does `/usr/local/bin/nvcc` come from? 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`.
   
   You may want to delete `/usr/local/bin/nvcc` and just use the standard  
`/usr/local/cuda/bin/nvcc` which you mentioned works in 
https://github.com/apache/incubator-mxnet/issues/17761#issuecomment-594840371 ?
   
   The exact search behavior is specified in 
https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindCUDAToolkit.cmake

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