[Mesa-dev] [PATCH 4/6] configure.ac: Set and use HAVE_GALLIUM_LLVM define

Emil Velikov emil.l.velikov at gmail.com
Wed Jan 18 15:40:22 UTC 2017


On 18 January 2017 at 15:11, Jose Fonseca <jfonseca at vmware.com> wrote:
> I've reverted this and took a closer look.
>
> I'm fine with autoconf glue doing whatever: HAVE_LLVM -> HAVE_GALLIUM_LLVM
> and what not.
>
> But I'm afraid I can't accept replacing HAVE_LLVM in the .c code, because:
> - it breaks the other build systems if not updated
> - but above all, it creates merge conflicts in branches, work in progress
> changes, etc, as HAVE_LLVM define appears all over the place.
>
> So, could we please rework the series so .c code is left alone?
>
While I see where you're coming from, the argument of unmerged
branches/wip changes is a bit flaky.
That aside I fully agree - changing this in Gallium is asking for
trouble for the reasons you mentioned.

In order to untangle things we want to have a distinction between the
gallium (gallivm afaict) and other users - RADV presently.
So how about we update the RADV instances and ensure that the we set
the HAVE_{RADV,}_LLVM lot appropriately. Latter will be picky but
overall things should work w/o annoyances that HAVE_GALLIUM_LLVM
brings ?

-Emil


More information about the mesa-dev mailing list