]> code.ossystems Code Review - openembedded-core.git/commit
mesa: Fix build when building with llvmpipe
authorKhem Raj <raj.khem@gmail.com>
Sat, 29 Jul 2017 07:42:49 +0000 (00:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 Jul 2017 13:25:44 +0000 (14:25 +0100)
commitda29bc17e4dd748f50b054c5e3afaf8d41bf4077
treef9d7a4bf464dc1896b35563d5169d63f8ddefa8f
parent8724ef9c53e7804ead9ba0f019369b0e4daada63
mesa: Fix build when building with llvmpipe

Add following in mesa.inc to enable llvmpipe

PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600"
PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600"

This would enable llvmpipe for swrast, to check run this

root@qemux86:~# glxinfo | grep llvm
    Device: llvmpipe (LLVM 5.0, 128 bits) (0xffffffff)
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 5.0, 128 bits)

Backport patches to support llvm 5.0.0+
Add a patch to understand llvm version when llvm is build from git/svn

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-graphics/mesa/files/0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch [new file with mode: 0644]
meta/recipes-graphics/mesa/files/0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch [new file with mode: 0644]
meta/recipes-graphics/mesa/files/llvm-config-version.patch [new file with mode: 0644]
meta/recipes-graphics/mesa/mesa.inc
meta/recipes-graphics/mesa/mesa_17.1.5.bb