[Mesa-dev] [PATCH] configure: link against -lLLVM to determine build type

Maarten Lankhorst maarten.lankhorst at canonical.com
Wed Aug 14 00:08:55 PDT 2013


Op 14-08-13 04:37, Tom Stellard schreef:
> On Tue, Aug 13, 2013 at 05:53:52PM +0200, Maarten Lankhorst wrote:
>> Fixes a build failure of 9.2 on ubuntu, because libLLVM-3.3.so is not present in /usr/lib/llvm-3.2/lib.
>>
> I'm trying to understand the problem here, could you give a little more
> information about how Ubuntu packages LLVM?  Where are the LLVM
> libraries installed and what does llvm-config --libdir --ldflags report?
libLLVM-3.3.so gets installed in /usr/lib/x86_64-linux-gnu/libLLVM-3.3.so,
there is no /usr/lib/llvm-3.2/lib/libLLVM-3.3.so
All the other libs still get installed to /usr/lib/llvm-3.3/lib.

~$ llvm-config-3.3 --libdir --ldflags
/usr/lib/llvm-3.3/lib
-L/usr/lib/llvm-3.3/lib  -lpthread -lffi -ldl -lm

~Maarten


More information about the mesa-dev mailing list