[Mesa-dev] [PATCH 0/4] configure.ac: LLVM again!

Marek Olšák maraeo at gmail.com
Sat Jan 28 15:09:29 UTC 2017


On Sat, Jan 28, 2017 at 3:31 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Can you explain why it's a desirable goal to be able to build radv without
> --enable-gallium-llvm? Perhaps it's obvious, but I'm not seeing it.
>
> On Jan 28, 2017 8:57 AM, "Tobias Droste" <tdroste at gmx.de> wrote:
>
> This is a reworked series of the previous LLVM related changes to
> configure.ac that were reverted due to breaking scons.
>
> This takes a different approach to the previous series and adds an
> extra define for LLVM version checks if RADV is build.
>
> This allows to build RADV with "--disable-gallium-llvm".
>
> Patch 1, 2 and 3 are the same as in the previous series, just rebased.
> The new stuff is in patch 3.
>
> Tobias Droste (4):
>   configure.ac: Rename MESA_LLVM to FOUND_LLVM
>   configure.ac: Only set LLVM_LIBS if LLVM is used
>   configure.ac: Separate HAVE_LLVM defines for gallium and radv
>   configure.ac: Don't check LLVM version in gallium_require_llvm

I fail to see how 2 HAVE_LLVM definitions can be a good idea.

Enabling LLVM by default and allowing people to use --disable-llvm
should be enough for everybody.

Marek


More information about the mesa-dev mailing list