eric-haibin-lin opened a new issue #18831: URL: https://github.com/apache/incubator-mxnet/issues/18831
Following the instructions in https://github.com/apache/incubator-mxnet/blob/master/config/darwin.cmake: ``` # If you want to change the configuration, please use the following steps. # Assume you are on the root directory of mxnet. First copy this file so that # any local changes will be ignored by git # # $ cp config/darwin.cmake config.cmake # # Next modify the according entries, and then compile by # # $ mkdir build; cd build # $ cmake .. # $ cmake --build . ``` it gives me the error below: ``` CMake Error at /usr/local/Cellar/cmake/3.18.1/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:166 (message): Could not find nvcc, please set CUDAToolkit_ROOT. Call Stack (most recent call first): CMakeLists.txt:117 (enable_language) -- Configuring incomplete, errors occurred! See also "/Users/haibilin/dev/mxnet/build/CMakeFiles/CMakeOutput.log". See also "/Users/haibilin/dev/mxnet/build/CMakeFiles/CMakeError.log". ``` It looks like the template was actually not used by CMake. Alternatively, if i use `cmake -DUSE_CUDA=0 ..`, the nvcc error disappears. ---------------------------------------------------------------- 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]
