]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
mesa: add opencl DISTRO_FEATURE
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 15 Sep 2025 23:25:56 +0000 (02:25 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Sep 2025 10:08:20 +0000 (11:08 +0100)
commit3061d6061e74a545b7a190fd13b52ac181994dd1
tree2c70e3703528dcd1644691cce188af3ca1c4f38b
parentad14432a516db4d4752b9905d1a7127942b142ea
mesa: add opencl DISTRO_FEATURE

OpenCL is an important part of the GPU-related world. It makes sense to
be able to provide headless environment (without OpenGL and Vulkan), but
having just OpenCL as a GPU user. Currently it is not possible since
mesa requires either of those to be enabled for the DISTRO.

Add new 'opencl' DISTRO_FEATURE, controlling enablement of OpenCL.

Note: Mesa, if built with the libclc packageconfig (which is required
for OpenCL driver) depends on the mesa-clc tool from the mesa-native
package. It is required to propagate opencl DISTRO_FEATURE to the native
set in order to be able to fulfill mesa -> mesa-native dependency as
otherwise mesa-native package will be skipped.

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>
meta/conf/bitbake.conf
meta/recipes-graphics/mesa/mesa.bb
meta/recipes-graphics/mesa/mesa.inc