[vlc-devel] [PATCH 09/10] contrib: do the fetch before building everything

Alexandre Janniaux ajanni at videolabs.io
Tue Jul 7 10:22:45 CEST 2020


Hi,

I don't know if it's faster or slower to be honest, that was
a blind forecast which is not tested, but it certainly breaks
pipelining.

You probably don't care because fetch is highly dependend on
your internet access and has probably a very short cost for
you, but with a slow internet access sequencing would be
appaling.

Regards,
--
Alexandre Janniaux
Videolabs

On Tue, Jul 07, 2020 at 10:08:48AM +0200, Steve Lhomme wrote:
> On 2020-07-07 9:53, Alexandre Janniaux wrote:
> > Hi,
> >
> > If you force this within the Makefile, it means that every
> > builds are not able to pipeline fetch and build, so it will
> > be slower for everybody, while there's most of the time no
> > point in sequencing fetching and building since contribs
> > builds are supposed to work if merged in the tree.
>
> I don't think it makes things slower. In the end the dependency handling is
> not doing what I expected because if you build "install" (which is actually
> "all") with multiple threads it will build install and some other packages
> in the dependencies at the same time.
>
> So in fact it does build while extracting sources. That's not what I wanted.
> And that's also why the time difference is almost 0.
>
> In the end in v2 I'm just calling extract explicitly.
>
> > In short, this patch is making contribs builds slower for
> > everybody while it only concerns CI or developers.
> >
> > Since you can have the same effect by calling the following
> > commands, this patch might not be even needed.
> >
> > 	make fetch
> > 	make
> >
> > Regards,
> > --
> > Alexandre Janniaux
> > Videolabs
> >
> > On Tue, Jul 07, 2020 at 07:10:45AM +0200, Steve Lhomme wrote:
> > > On 2020-07-06 18:59, Alexandre Janniaux wrote:
> > > > Hi,
> > > >
> > > > I agree, if you want to fetch before building you should
> > > > probably execute `make fetch` before `make` instead.
> > >
> > > Why should I ?
> > >
> > > > Regards,
> > > > --
> > > > Alexandre Janniaux
> > > > Videolabs
> > > >
> > > > On Mon, Jul 06, 2020 at 07:26:41PM +0300, Rémi Denis-Courmont wrote:
> > > > > Le lundi 6 juillet 2020, 17:45:19 EEST Steve Lhomme a écrit :
> > > > > > On 2020-07-06 16:26, Rémi Denis-Courmont wrote:
> > > > > > > Le lundi 6 juillet 2020, 16:14:11 EEST Steve Lhomme a écrit :
> > > > > > > > This avoids starting building and stopping in the middle if some tarballs
> > > > > > > > can't be downloaded.
> > > > > > >
> > > > > > > Nack. This breaks downloading and bilding in parallel.
> > > > > >
> > > > > > Can you explain why it would break it ? It works fine here and in the CI.
> > > > >
> > > > > Yeah so this pach actually makes no sense whatsoever. It adds a completely
> > > > > bogus dependency to install that is already an indirect dependency anyway.
> > > > >
> > > > > Still nack.
> > > > >
> > > > > --
> > > > > Rémi Denis-Courmont
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > vlc-devel mailing list
> > > > > To unsubscribe or modify your subscription options:
> > > > > https://mailman.videolan.org/listinfo/vlc-devel
> > > > _______________________________________________
> > > > vlc-devel mailing list
> > > > To unsubscribe or modify your subscription options:
> > > > https://mailman.videolan.org/listinfo/vlc-devel
> > > >
> > > _______________________________________________
> > > vlc-devel mailing list
> > > To unsubscribe or modify your subscription options:
> > > https://mailman.videolan.org/listinfo/vlc-devel
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > https://mailman.videolan.org/listinfo/vlc-devel
> >
> _______________________________________________
> 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