diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-29 00:42:49 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-31 15:13:32 +0100 |
commit | 6f12ac612ca29adc2f2a40526a757adfee92fb12 (patch) | |
tree | 3bb923d150fbb74cfbad6690d708ff18c2c43e4b /meta/recipes-graphics/mesa/mesa_17.1.5.bb | |
parent | 5c77067ee9c18e056515a5e83e7282b0035dfb49 (diff) | |
download | poky-6f12ac612ca29adc2f2a40526a757adfee92fb12.tar.gz |
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
(From OE-Core rev: da29bc17e4dd748f50b054c5e3afaf8d41bf4077)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_17.1.5.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_17.1.5.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_17.1.5.bb b/meta/recipes-graphics/mesa/mesa_17.1.5.bb index ddfcb371ec..36b0377453 100644 --- a/meta/recipes-graphics/mesa/mesa_17.1.5.bb +++ b/meta/recipes-graphics/mesa/mesa_17.1.5.bb | |||
@@ -7,6 +7,9 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ | |||
7 | file://0002-hardware-gloat.patch \ | 7 | file://0002-hardware-gloat.patch \ |
8 | file://0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch \ | 8 | file://0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch \ |
9 | file://vulkan-mkdir.patch \ | 9 | file://vulkan-mkdir.patch \ |
10 | file://llvm-config-version.patch \ | ||
11 | file://0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch \ | ||
12 | file://0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch \ | ||
10 | " | 13 | " |
11 | SRC_URI[md5sum] = "6cf936fbcaadd98924298a7009e8265d" | 14 | SRC_URI[md5sum] = "6cf936fbcaadd98924298a7009e8265d" |
12 | SRC_URI[sha256sum] = "378516b171712687aace4c7ea8b37c85895231d7a6d61e1e27362cf6034fded9" | 15 | SRC_URI[sha256sum] = "378516b171712687aace4c7ea8b37c85895231d7a6d61e1e27362cf6034fded9" |