Make server build use 2 threads

This commit is contained in:
3djc
2017-12-24 13:36:06 +01:00
parent 10d733d312
commit 9696284e1d
+1 -1
View File
@@ -214,7 +214,7 @@ def build_firmware(path):
exit(COMPILATION_ERROR)
# Launch make
cmd = ["make", what]
cmd = ["make", "-j2", what]
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
output, error = proc.communicate()
if proc.returncode == 0: