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

as topic

$ python3 setup.py 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 “setup.py”, line 737, in
build_deps()
File “setup.py”, line 321, in build_deps
cmake=cmake)
File “/home/watrix/tools/pytorch/tools/build_pytorch_libs.py”, line 62, in build_caffe2
cmake.build(my_env)
File “/home/watrix/tools/pytorch/tools/setup_helpers/cmake.py”, line 345, in build
self.run(build_args, my_env)
File “/home/watrix/tools/pytorch/tools/setup_helpers/cmake.py”, line 141, in run
check_call(command, cwd=self.build_dir, env=env)
File “/usr/lib/python3.5/subprocess.py”, 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