2017-01-22 2:50 GMT+01:00 Ferruh Yigit [off-list ref]:
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
[...]
+$(RTE_OUTPUT)/.depdirs: $(DEPDIRS)
+ @rm -f $@
+ @for f in $(DEPDIRS); do cat $$f >> $@; done
+ @sort -u -o $@ $@
This could be just one 'sort -u -o $@ $(DEPDIRS)'
Best Regards,
Michał Mirosław