Reduce the number of parallel compiles. am: 3fbd303d1c
am: 86e955aefa
Change-Id: I1371497279de01651a16af9de0031452f633935b
This commit is contained in:
commit
a1f90819ac
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ done
|
|||
# This heuristic could probably be improved.
|
||||
cores=$(nproc --all)
|
||||
num_targets=$(echo "$targets" | sed 's/ /\n/g' | wc -l)
|
||||
parallel_jobs=$(expr $cores / 2)
|
||||
parallel_jobs=$(expr $cores / 4)
|
||||
if [[ $num_targets -lt $parallel_jobs ]]; then
|
||||
export mmma_jobs=$(expr $cores / $num_targets \* 2)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue