CUDA_NVCC_EXECUTABLE is not needed, as nvcc is in PATH (#18958)

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
This commit is contained in:
Stas Bekman
2019-04-05 12:46:44 -07:00
committed by Facebook Github Bot
parent 8e1e29124d
commit f9a56d4af2

View 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