[Mesa-dev] [PATCH 10/37] mesa/program: move source files list to Makefile.sources

Emil Velikov emil.l.velikov at gmail.com
Tue Nov 5 15:27:03 PST 2013


On 05/11/13 18:55, Matt Turner wrote:
> On Tue, Nov 5, 2013 at 10:49 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> Now we have one intermediate library (archive), which links against both
>> mesa classic and gallium. Whereas with your patch it builds it twice but
>> drops the linking part. Is the extra recursion + linking that much more
>> significant than rebuilding the exact same source(s) twice ?
> 
> It's not building it twice (just like it doesn't build other sources
> common to libmesa and libmesagallium twice).
> 
> It builds the sources once and links them into libmesa and
> libmesagallium, instead of going through the intermediate step of
> linking them into libprogram.
> 
Not sure where in mesa I saw this, but I could swear it was rebuilding
the same source(s) twice. Seems that I was a bit in the clouds on this one.

I'll drop the "moving moving sources list(s)" part but would like to
keep the cleanups.

~Emil




More information about the mesa-dev mailing list