projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd4d99
)
test/py: use actual core count for parallel builds
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 30 May 2020 22:44:24 +0000
(
00:44
+0200)
committer
Tom Rini
<trini@konsulko.com>
Tue, 2 Jun 2020 17:06:07 +0000
(13:06 -0400)
When building U-Boot we should not blindly use make -j8 but consider the
actual core count given by os.cpu_count().
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
test/py/conftest.py
patch
|
blob
|
history
diff --git
a/test/py/conftest.py
b/test/py/conftest.py
index e3392ff6bc4eec691f643555394bea9cac0078db..30920474b3627e9845a09c02d01cfa1491f44113 100644
(file)
--- a/
test/py/conftest.py
+++ b/
test/py/conftest.py
@@
-156,7
+156,7
@@
def pytest_configure(config):
o_opt = ''
cmds = (
['make', o_opt, '-s', board_type + '_defconfig'],
- ['make', o_opt, '-s', '-j
8'
],
+ ['make', o_opt, '-s', '-j
{}'.format(os.cpu_count())
],
)
name = 'make'