diff mbox series

[v2,3/3] mesa: clean up libopencl-mesa dependencies

Message ID 20250916093738.1636562-3-ross.burton@arm.com
State Accepted, archived
Commit 2daec34fac49a8ab6b22590da3ca4b3ae65e774b
Headers show
Series [v2,1/3] spirv-llvm-translator: small recipe cleanup | expand

Commit Message

Ross Burton Sept. 16, 2025, 9:37 a.m. UTC
The libraries in spirv-tools and spirv-llvm-translator are linked to
libopencl, so the correct dependencies are generated automatically.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dmitry Baryshkov Sept. 17, 2025, 3:03 p.m. UTC | #1
On Tue, Sep 16, 2025 at 10:37:38AM +0100, Ross Burton wrote:
> The libraries in spirv-tools and spirv-llvm-translator are linked to
> libopencl, so the correct dependencies are generated automatically.
> 
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  meta/recipes-graphics/mesa/mesa.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 5dee19fae9e..39924508ca9 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -224,7 +224,7 @@  DEV_PKG_DEPENDENCY = ""
 RPROVIDES:libgles2-mesa += "libgles3-mesa"
 RPROVIDES:libgles2-mesa-dev += "libgles3-mesa-dev"
 
-RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'libclc spirv-tools spirv-llvm-translator', '', d)}"
+RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'libclc', '', d)}"
 
 PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgallium \