[Mesa-dev] [PATCH] configure: Trust LLVM >= 4.0 llvm-config --libs for shared libraries

Emil Velikov emil.l.velikov at gmail.com
Tue Aug 8 18:24:34 UTC 2017


On 8 August 2017 at 08:23, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> No need to manually look for the library files anymore with current
> LLVM. This sidesteps the manual method failing when LLVM was built with
> -DLLVM_APPEND_VC_REV=ON.
>
IIRC you recently spotted that the Suse packaging was building LLVM
with separate shared libraries.
This is something which gets flagged with this (admittedly) quirky test.

Quick look [1] shows that Gentoo still uses separate shared libs :-\

I think we'd want to keep the best of both - just not sure how to
exactly do that.
--libs/--libfiles was completely busted with LLVM 3.9 and is back to
normal with 4.0.

Could we use that somehow?
-Emil

[1] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-devel/llvm/llvm-4.0.1.ebuild


More information about the mesa-dev mailing list