[Mesa-dev] [PATCH] build: Add --enable-gallium-osmesa flag.

Brian Paul brianp at vmware.com
Wed Aug 21 16:43:27 PDT 2013


On 08/21/2013 05:03 PM, Matt Turner wrote:
> On Wed, Aug 21, 2013 at 7:06 AM, Brian Paul <brianp at vmware.com> wrote:
>> On 08/20/2013 03:18 PM, Matt Turner wrote:
>>>
>>> The Gallium implementation is apparently not ready for regular
>>> consumption, so as much as I hate adding more build-time options, here's
>>> another.
>>>
>>
>> The intention was for the old/swrast version of OSMesa would wind up in lib/
>> while the gallium version would wind up in lib/gallium/.  I thought that's
>> what I implemented.  Or is it "make install" that's causing overwriting?
>
> Yes, it's make install that's overwriting the old/swrast version with
> the Gallium version if Gallium is enabled. What winds up in the lib
> directory when just make is run is controlled by the all-local hook
> that creates the symlinks.
>
> If you want it installed to $(libdir)/gallium the
> src/gallium/targets/osmesa/Makefile.am should look like
>
> gallium_libdir = $(libdir)/gallium
> gallium_LTLIBRARIES = lib at OSMESA_LIB@.la
>
> libgl-xlib has this same problem.
>
> Should I send a patch for that?

Let's just go with the --enable-gallium-osmesa flag for now to get 
things working for 9.2.  People probably just want either-or, not both 
versions of libOSMesa anyway.

Thanks.

I'm not a an automake expert but your patch looks OK to me.

Acked-by: Brian Paul <brianp at vmware.com>

-Brian



More information about the mesa-dev mailing list