Cuda11+cudnn8,how could build caffe and pytorch from the latest version for x86-64

as topic

$ python3 build
Building wheel torch-1.7.0a0+5dd230d
– Building version 1.7.0a0+5dd230d
cmake --build . --target install --config Release – -j 8
make: *** No rule to make target ‘install’. Stop.
Traceback (most recent call last):
File “”, line 737, in
File “”, line 321, in build_deps
File “/home/watrix/tools/pytorch/tools/”, line 62, in build_caffe2
File “/home/watrix/tools/pytorch/tools/setup_helpers/”, line 345, in build, my_env)
File “/home/watrix/tools/pytorch/tools/setup_helpers/”, line 141, in run
check_call(command, cwd=self.build_dir, env=env)
File “/usr/lib/python3.5/”, line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘cmake’, ‘–build’, ‘.’, ‘–target’, ‘install’, ‘–config’, ‘Release’, ‘–’, ‘-j’, ‘8’]’ returned non-zero exit status 2