Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9e326014 authored by Chirayu Desai's avatar Chirayu Desai Committed by Ricardo Cerqueira
Browse files

envsetup: mka improvements

Use make -j -l y instead of just make -j x
x is threads, y is 2*threads
This way make builds with the maximum number of jobs it can
while not getting the load average above y
I've tested it with 8 (x on my pc), 16, 20 and 24, and
2*threads seemed to be the most efficient

*needs more testing*

Change-Id: Ifd72e699a6fadc08442472defcc764fb91179355
parent cb7220e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment