[Mesa-dev] [PATCH 3/3] configure.ac: don't build gallium driver libs just to see if there are no errors

Marek Olšák maraeo at gmail.com
Tue Jul 12 08:42:44 PDT 2011


On Tue, Jul 12, 2011 at 4:28 PM, Brian Paul <brianp at vmware.com> wrote:
>  On 07/12/2011 07:27 AM, Marek Olšák wrote:
>>
>> I think the past are those times when the gallium interface was changed
>> all
>> the time. Now it is not, so there is no reason to always compile the libs
>> if they are not needed.
>>
>> No idea why some hardware drivers need to contain whole softpipe and
>> llvmpipe.
>
> My only guess is that we were putting both drivers in one .so and using a
> var to switch between the hw driver and softpipe for quick
> debuging/comparisons.  Can you try building/testing without that dependency
> and see what happens?

Yeah. The softpipe and llvmpipe dependency can be removed by:
1) undefining GALLIUM_LLVMPIPE and GALLIUM_SOFTPIPE
2) removing the .a libs from Makefiles

After that the GALLIUM_DRIVER variable is basically ignored. Doing
step (2) without (1) causes a linker failure.

I leave that change to maintainers of the respective drivers.

Marek


More information about the mesa-dev mailing list