[vlc-devel] [PATCH 7/7] contrib: allow building contribs out of the source tree

Rémi Denis-Courmont remi at remlab.net
Tue Mar 5 17:37:20 CET 2019


Le tiistaina 5. maaliskuuta 2019, 17.36.02 EET Steve Lhomme a écrit :
> > Err, does this not force the use of absolute paths. If so, that's
> > annoying.
> 
> Yes it does, although it might be possible to do without, now that all
> pathes are relative to TOPSRC or TOPDST
> 
> > I'm not sure what the point is. I'd rather use the same contribs for
> > all build subdirs, than have to rebuild contribs for each of them.
> 
> You can still do that. It's compatible with the way things worked before.
> 
> The reason, for me, is to have on out-of-tree folder per build target. I
> have tons of targets with different versions and it's quickly a mess
> when you have to mix them. Same thing when switching between 4.0 and
> 3.0. This could be out of tree for each and they never have to know each
> other.

You are making your life miserable by tracking different branches in the same 
git tree. Regardless of contribs, that means a ton load of easily avoidable 
build churn all the time.

Just keep one checkout per baseline, each with their contrib build.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list