CUDA_NVCC_EXECUTABLE is not needed, as nvcc is in PATH (#18958)
authorStas Bekman <stas@stason.org>
Fri, 5 Apr 2019 19:46:44 +0000 (12:46 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 5 Apr 2019 20:07:05 +0000 (13:07 -0700)
Summary:
As indicated by f0k: https://github.com/pytorch/pytorch/pull/18495#issuecomment-480178763
nvcc via ccache is already first in the PATH in the instructions I provided, so CUDA_NVCC_EXECUTABLE is not needed.

I re-built to test that it's so.

Thank you!
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18958

Differential Revision: D14810732

Pulled By: ezyang

fbshipit-source-id: 3758ae2253c745c5d7cfccedd49fa00cc4629965

CONTRIBUTING.md

index 5931345..c47d7ed 100644 (file)
@@ -348,7 +348,6 @@ ccache -F 0
 
 # deploy (and add to ~/.bashrc for later)
 export PATH="/usr/lib/ccache:$PATH"
-export CUDA_NVCC_EXECUTABLE=/usr/lib/ccache/nvcc
 ```
 
 ## CUDA Development tips