diff options
| author | Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 2025-10-10 14:59:48 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-13 18:01:04 +0100 |
| commit | 5e13fef9fa00a71bff955b2fc4621801881b03d2 (patch) | |
| tree | f3995cc739ec67d280d5ece1d9c175b1ee74eb3f /meta | |
| parent | 665e06da7d7ade8e0a0a0fe62005c630c93e75cc (diff) | |
| download | poky-5e13fef9fa00a71bff955b2fc4621801881b03d2.tar.gz | |
mesa: add opencl -> clang build dependency
With the commits 448f4a84cb22 ("llvm: add recipe for just the LLVM
libraries") and d76dc362c8e1 ("clang: use llvm recipe") the 'llvm'
dependency inside mesa.inc does no longer pull in the clang libraries,
failing RustiCL build as it can not find Clang libaries.
Add direct dependency on the clang in order to fulfill build-time deps.
Fixes: d76dc362c8e1 ("clang: use llvm recipe")
(From OE-Core rev: b8fa4a0ac33638b599ee169db11b5e77b2483148)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 7046deeb2b..f299f95702 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
| @@ -128,7 +128,7 @@ PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" | |||
| 128 | 128 | ||
| 129 | # "opencl" also requires libclc and gallium-llvm to be present in PKGCONFIG! | 129 | # "opencl" also requires libclc and gallium-llvm to be present in PKGCONFIG! |
| 130 | # Be sure to enable them both for the target and for the native build. | 130 | # Be sure to enable them both for the target and for the native build. |
| 131 | PACKAGECONFIG[opencl] = "-Dgallium-rusticl=true -Dmesa-clc-bundle-headers=enabled, -Dgallium-rusticl=false, bindgen-cli-native" | 131 | PACKAGECONFIG[opencl] = "-Dgallium-rusticl=true -Dmesa-clc-bundle-headers=enabled, -Dgallium-rusticl=false, bindgen-cli-native clang" |
| 132 | 132 | ||
| 133 | PACKAGECONFIG[broadcom] = "" | 133 | PACKAGECONFIG[broadcom] = "" |
| 134 | PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native" | 134 | PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native" |
