diff options
author | Andrey Konovalov <andrey.konovalov@linaro.org> | 2022-08-30 22:25:02 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-01 10:07:02 +0100 |
commit | b16ecb48f6d7b5c8f1806841212f43ec96b58ee8 (patch) | |
tree | 81b872d7f63b3d90803c4759f7b7db2fe6f90f9d /meta/recipes-graphics | |
parent | a1bdef5c4b61bcfe8db56a286a04eece82f0cedb (diff) | |
download | poky-b16ecb48f6d7b5c8f1806841212f43ec96b58ee8.tar.gz |
mesa: build clover with native LLVM codegen support for freedreno
(From OE-Core rev: fbd9d6643ff0b345fa0e3b369eabc0efefeac5e3)
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 8754ccabf3..ea7ed4fd27 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -128,7 +128,8 @@ PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2 | |||
128 | PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" | 128 | PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" |
129 | 129 | ||
130 | # "opencl" requires libclc from meta-clang and spirv-tools from OE-Core | 130 | # "opencl" requires libclc from meta-clang and spirv-tools from OE-Core |
131 | PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true,-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools" | 131 | OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-native=true', '', d)}" |
132 | PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools" | ||
132 | 133 | ||
133 | PACKAGECONFIG[broadcom] = "" | 134 | PACKAGECONFIG[broadcom] = "" |
134 | PACKAGECONFIG[etnaviv] = "" | 135 | PACKAGECONFIG[etnaviv] = "" |