[vlc-devel] [PATCH] [RFC] contrib: using make -C should spread the threads from "make -j" properly

Steve Lhomme robux4 at gmail.com
Wed May 18 19:57:47 CEST 2016

On Wed, May 18, 2016 at 6:15 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> On Wednesday 18 May 2016 14:11:49 Steve Lhomme wrote:
>> According to
>> https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.ht
>> ml#index-recursion_002c-and-_002dj "the parent make and all the sub-makes
>> will communicate to ensure that there are only ‘N’ jobs running at the same
>> time between them all."
> Are you sure that all contribs are safe to build in parallel?

I do it all the time. Now I don't build 100% of them.

> The performance gain will be limited.

The problem is that when you launch make for the contribs with many
threads, it may either be starving for threads or using more than
allocated. With this change it's smoother.

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list