leezu commented 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-594845017
 
 
   Thanks for the update @cepera-ang. Could you try changing
   
   `  if (NOT CMAKE_CUDA_COMPILER_LOADED AND UNIX AND EXISTS 
"/usr/local/cuda/bin/nvcc")`
   
   to
   
   `  if (NOT CMAKE_CUDA_COMPILER AND UNIX AND EXISTS 
"/usr/local/cuda/bin/nvcc")`
   
   Seems in #17293 we used the wrong variable, as per 
https://gitlab.kitware.com/cmake/cmake/issues/19013

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