[Mesa-dev] Build fail since configure.ac: rework llvm libs handling for 3.9+

Jan Vesely jan.vesely at rutgers.edu
Mon Oct 16 02:22:09 UTC 2017


On Sun, 2017-10-15 at 00:00 +0100, Andy Furniss wrote:
> Andy Furniss wrote:
> > Since
> > 
> > commit 13a53c4f5cdd664fd155c9e78fb46a4387af006c
> > Author: Emil Velikov <emil.velikov at collabora.com>
> > Date:   Thu Oct 5 11:19:05 2017 +0100
> > 
> >      configure.ac: rework llvm libs handling for 3.9+
> > 
> > I am getting 00s of
> > 
> > .... /mesa/src/amd/common/..... undefined reference to LLVM......
> > 
> > Using git llvm have tried with -DLLVM_APPEND_VC_REV=OFF
> > 
> > My llvm config =
> > 
> > cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
> > -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=ON 
> > -DLLVM_BUILD_LLVM_DYLIB=ON
> 
> Build is OK with llvm built with -DLLVM_LINK_LLVM_DYLIB=ON

THis is weird. that option should only set whether llvm executables are
dynamically linked. is the llvm-config output different when you toggle
this setting?

Jan

> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171015/681716b6/attachment-0001.sig>


More information about the mesa-dev mailing list