Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] mesa: add PROVIDES for Vulkan and OpenCL ICDs
@ 2025-09-12 13:44 Dmitry Baryshkov
  2025-09-12 13:44 ` [PATCH 2/2] vulkan-loader: depend on the Vulkan ICD package Dmitry Baryshkov
  2025-09-14  9:40 ` [OE-core] [PATCH 1/2] mesa: add PROVIDES for Vulkan and OpenCL ICDs Mathieu Dubois-Briand
  0 siblings, 2 replies; 4+ messages in thread
From: Dmitry Baryshkov @ 2025-09-12 13:44 UTC (permalink / raw)
  To: openembedded-core

In order to let BSPs easily select OpenCL and Vulkan Installable Client
Drivers, add two virtual package names: virtual-opencl-icd and
virtual-vulkan-icd.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 meta/recipes-graphics/mesa/mesa.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 5dee19fae9ea..3f09cfd4df21 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -219,6 +219,10 @@ CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS"
 # Remove the mesa dependency on mesa-dev, as mesa is empty
 DEV_PKG_DEPENDENCY = ""
 
+# Provide virtual names to allow selecting preferred rproviders
+RPROVIDES:mesa-vulkan-drivers += "virtual-vulkan-icd"
+RPROVIDES:libopencl-mesa += "virtual-opencl-icd"
+
 # GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa.
 # Add a dependency so the GLES3 dev package is associated with its implementation.
 RPROVIDES:libgles2-mesa += "libgles3-mesa"
-- 
2.47.3



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-15  9:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-12 13:44 [PATCH 1/2] mesa: add PROVIDES for Vulkan and OpenCL ICDs Dmitry Baryshkov
2025-09-12 13:44 ` [PATCH 2/2] vulkan-loader: depend on the Vulkan ICD package Dmitry Baryshkov
2025-09-14  9:40 ` [OE-core] [PATCH 1/2] mesa: add PROVIDES for Vulkan and OpenCL ICDs Mathieu Dubois-Briand
2025-09-15  9:46   ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox