[Mesa-dev] [PATCH 15/23] configure: add HAVE_GALLIUM_STATIC_TARGETS

Marek Olšák maraeo at gmail.com
Tue May 20 08:21:52 PDT 2014


Well, I have never studied the build system, so I don't know exactly
what this series does and how it affects the size of the drivers.

Could you please summarize what binaries are created, how big they
are, and compare the shared vs static approach vs the current way? And
what is the role of the pipe loader?

Marek

On Tue, May 20, 2014 at 4:18 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 20/05/14 13:08, Marek Olšák wrote:
>> On Sun, May 18, 2014 at 9:07 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> Will be used to control the linking mode of pipe-drivers
>>> in gallium targets.
>>>
>>> XXX: Do we want to expose this via configure option ?
>>> I'm personally inclined to use pipe-drivers despite the
>>> unstable interface between them and the rest of mesa.
>>>
>>> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
>>> ---
>>>  configure.ac | 3 +++
>>>  1 file changed, 3 insertions(+)
>>>
>>> diff --git a/configure.ac b/configure.ac
>>> index ed80cd9..d802875 100644
>>> --- a/configure.ac
>>> +++ b/configure.ac
>>> @@ -1985,6 +1985,9 @@ AM_CONDITIONAL(NEED_GALLIUM_LLVMPIPE_DRIVER, test "x$HAVE_GALLIUM_I915" = xyes -
>>>                                                    "x$HAVE_GALLIUM_SOFTPIPE" = xyes \
>>>                                                    && test "x$MESA_LLVM" = x1)
>>>
>>> +# Disable static gallium targets for now
>>> +AM_CONDITIONAL(HAVE_GALLIUM_STATIC_TARGETS, test "xyes" = xyes)
>>
>> Did you mean to say "Enable" in the comment above?
>>
> Good catch. It's a leftover from the "use pipe-loader by default" approach.
> What is your opinion about providing a configure switch for it ?
>
> Thanks
> Emil
>
>> Marek
>>
>>> +
>>>  # NOTE: anything using xcb or other client side libs ends up in separate
>>>  #       _CLIENT variables.  The pipe loader is built in two variants,
>>>  #       one that is standalone and does not link any x client libs (for
>>> --
>>> 1.9.2
>>>
>>> _______________________________________________
>>> mesa-dev mailing list
>>> mesa-dev at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list