I was following the Milk-V kernel build instructions here: https://milkv.io/docs/pioneer/development/kernel and found that build_rv_gcc was taking a long time. Examining /scripts/envsource.sh, I find the make commands on lines 234 and 252 are not using -j $(nproc), leading to a slow single-threaded build.
I was following the Milk-V kernel build instructions here: https://milkv.io/docs/pioneer/development/kernel and found that
build_rv_gcc
was taking a long time. Examining/scripts/envsource.sh
, I find themake
commands on lines 234 and 252 are not using-j $(nproc)
, leading to a slow single-threaded build.