mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
tools/metrics.py: Use all CPUs during comparison builds.
Don't simply hard-code a parallelism of 3 for the build. Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
committed by
Damien George
parent
aad6ee3d8c
commit
fef414eca4
@@ -43,9 +43,9 @@ Other commands:
|
||||
|
||||
"""
|
||||
|
||||
import collections, sys, re, subprocess
|
||||
import collections, sys, re, subprocess, multiprocessing
|
||||
|
||||
MAKE_FLAGS = ["-j3", "CFLAGS_EXTRA=-DNDEBUG"]
|
||||
MAKE_FLAGS = ["-j{}".format(multiprocessing.cpu_count()), "CFLAGS_EXTRA=-DNDEBUG"]
|
||||
|
||||
|
||||
class PortData:
|
||||
|
||||
Reference in New Issue
Block a user