Build PyTorch from source

Hi, while I am building PyToch from source, I got the following error:

$python setup.py install
nvcc fatal : The version (‘80000’) of the host compiler (‘clang’) is not supported

$clang --version
clang version 8.0.0-3~ubuntu18.04.2 (tags/RELEASE_800/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Thank you