Build error ' in build_caffe2'

Hi all! I am facing this error with my build from source, anyone with any clues? My command is: python setup.py install

[ 62%] Linking C static library …/…/lib/libnnpack.a
[ 62%] Built target nnpack
[ 62%] Built target generate-torch-sources
[ 62%] Built target dnnl_cpu_x64
[ 62%] Built target dnnl_cpu
[ 62%] Built target fbgemm_avx2
gmake: *** [all] error 2
Traceback (most recent call last):
File “setup.py”, line 818, in
build_deps()
File “setup.py”, line 320, in build_deps
cmake=cmake)
File “/home/username/work_libtorch/pytorch/tools/build_pytorch_libs.py”, line 58, in build_caffe2
cmake.build(my_env)
File “/home/username/work_libtorch/pytorch/tools/setup_helpers/cmake.py”, line 345, in build
self.run(build_args, my_env)
File “/home/username/work_libtorch/pytorch/tools/setup_helpers/cmake.py”, line 140, in run
check_call(command, cwd=self.build_dir, env=env)
File “/home/username/miniconda3/envs/libtorch/lib/python3.6/subprocess.py”, line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘cmake’, ‘–build’, ‘.’, ‘–target’, ‘install’, ‘–config’, ‘Release’, ‘–’, ‘-j’, ‘104’]’ returned non-zero exit status 2.