When I make runtime -j,the raspberry pi will stop at 14%. I have expanded the swap,but it also stop at 14%.
-j with no extra parameters will try to start as many building treads as possible (https://www.gnu.org/software/make/manual/html_node/Options-Summary.html#Options-Summary) and can potentially consume all your memory/swap, etc.
Have you tried running with a defined number of jobs like
-j 4 ? That might help at least getting to the end of the build process.
Thank you for replying me.I used -j2 last night.And it seemed tofinish the build at 14%.Was it right?
I was able to build TVM with make -j2.