Make server build use 2 threads
This commit is contained in:
@@ -214,7 +214,7 @@ def build_firmware(path):
|
|||||||
exit(COMPILATION_ERROR)
|
exit(COMPILATION_ERROR)
|
||||||
|
|
||||||
# Launch make
|
# Launch make
|
||||||
cmd = ["make", what]
|
cmd = ["make", "-j2", what]
|
||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
output, error = proc.communicate()
|
output, error = proc.communicate()
|
||||||
if proc.returncode == 0:
|
if proc.returncode == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user