Thread (38 messages) 38 messages, 8 authors, 2017-03-30

Re: [PATCH v2] mk: parallelize make config

From: Thomas Monjalon <hidden>
Date: 2017-01-30 18:13:34

2017-01-30 10:21, Ferruh Yigit:
make config dependency resolving was always running serial,
parallelize it for better performance.

$ time make T=x86_64-native-linuxapp-gcc config
real    0m12.633s

$ time make -j8 T=x86_64-native-linuxapp-gcc config
real    0m1.826s

When config creation done under a single make target, using a for loop,
make has no control on the action, and it needs to run as implemented in
the rule. But if for loop converted into multiple targets, make can
detect independent targets and run them parallel based on -j parameter.

Signed-off-by: Ferruh Yigit <redacted>
Looks a good improvement, thanks Ferruh.

Acked-by: Thomas Monjalon <redacted>

Applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help