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

Andy Furniss adf.lists at gmail.com
Sat Oct 14 22:00:03 UTC 2017


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

Mesa config

./autogen.sh --prefix=/usr --sysconfdir=/etc --enable-texture-float 
--enable-opencl --with-egl-platforms=x11,drm,wayland 
--with-gallium-drivers=radeonsi,swrast --with-vulkan-drivers=radeon 
--enable-gbm --enable-shared-glapi --enable-glx-tls --with-dri-drivers=



More information about the mesa-dev mailing list