Without DEFAULT_RPROVIDERs for the virtual packages OE behaviour is not deterministic, it's not always obvious, which package will be selected to fulfill the dependency.
Add DEFAULT_RPROVIDERs for OpenCL and Vulkan ICDs (installable client drivers) and specify Mesa packages by default. It is a weak assignment, so the distributions can override those settings. Signed-off-by: Dmitry Baryshkov <[email protected]> --- meta/conf/distro/include/default-providers.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index 883ea2f8af8c..aeff8afe0119 100644 --- a/meta/conf/distro/include/default-providers.inc +++ b/meta/conf/distro/include/default-providers.inc @@ -66,4 +66,6 @@ PREFERRED_PROVIDER_virtual/nativesdk-libsdl2 ?= "nativesdk-libsdl2" PREFERRED_RPROVIDER_virtual-libegl-icd ?= "libegl-mesa" PREFERRED_RPROVIDER_virtual-libglx-icd ?= "libglx-mesa" +PREFERRED_RPROVIDER_virtual-opencl-icd ?= "libopencl-mesa" +PREFERRED_RPROVIDER_virtual-vulkan-icd ?= "mesa-vulkan-drivers" PREFERRED_RPROVIDER_virtual-x-terminal-emulator ?= "rxvt-unicode" -- 2.47.3
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233778): https://lists.openembedded.org/g/openembedded-core/message/233778 Mute This Topic: https://lists.openembedded.org/mt/118480274/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
