Move back to using nproc +1 for _force_all_threads instead of nproc *2. The 5.6 issue was fixed a while ago and really slow CPUs can choke on *2 while doing interactive tasks.

This commit is contained in:
Tk-Glitch 2020-10-27 00:17:41 +01:00
parent e107b941a1
commit 6c0fb9cdf1

View File

@ -361,7 +361,7 @@ build() {
fi fi
if [ "$_force_all_threads" = "true" ]; then if [ "$_force_all_threads" = "true" ]; then
_force_all_threads="-j$((`nproc`*2))" _force_all_threads="-j$((`nproc`+1))"
else else
_force_all_threads="${MAKEFLAGS}" _force_all_threads="${MAKEFLAGS}"
fi fi