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

Matt Turner mattst88 at gmail.com
Wed Aug 21 16:03:54 PDT 2013


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?


More information about the mesa-dev mailing list