mesa: align x86 mesa config with LLVM graphics
PATCH 1/1 mesa: align x86 mesa config with LLVM graphics
This change makes the x86 and native mesa PACKAGECONFIG appends conditional on the same DISTRO_FEATURES check used by LLVM.
As a result, graphics-related Mesa and LLVM options are only added when the distro explicitly enables a graphics stack, while leaving non-graphics minimal images unchanged.
(cherry picked from commit 2cf81caa69474c5ec2397ca37622c86519791d44)
--- meta/recipes-graphics/mesa/mesa.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta/recipes-graphics/mesa/mesa.bb +4 -4
@@ -13,10 +13,10 @@ PACKAGECONFIG = " \ zlib \ " -PACKAGECONFIG:append:x86 = " libclc gallium-llvm intel amd nouveau svga" -PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga" -PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga" -PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga" +PACKAGECONFIG:append:x86 = "${@bb.utils.contains_any('DISTRO_FEATURES', 'opengl opencl vulkan', ' libclc gallium-llvm intel amd nouveau svga', '', d)}" +PACKAGECONFIG:append:x86-64 = "${@bb.utils.contains_any('DISTRO_FEATURES', 'opengl opencl vulkan', ' libclc gallium-llvm intel amd nouveau svga', '', d)}" +PACKAGECONFIG:append:i686 = "${@bb.utils.contains_any('DISTRO_FEATURES', 'opengl opencl vulkan', ' libclc gallium-llvm intel amd nouveau svga', '', d)}" +PACKAGECONFIG:append:class-native = "${@bb.utils.contains_any('DISTRO_FEATURES', 'opengl opencl vulkan', ' libclc gallium-llvm amd nouveau svga', '', d)}" GLPROVIDES = " \ ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \
Signature · 1 line
2.43.0
Hi Team ,
Can team consider this backported path as fix for wrynose
Thanks
Ashish
Reminder-2: [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
Hi Team ,
Can this patch be takedn in wrynose or if team have any suggestion . I can rework accordingly
The patch is merged i master branch and fix the silent bug there
https://git.openembedded.org/openembedded-core/tree/meta/recipes-graphics/mesa/mesa.bb
Thanks ,
Ashish
Re: [OE-core] Reminder-2: [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
Quoted 9 lines · AshishKumar Mishra via lists.openembedded.org
Hi Team ,
Can this patch be takedn in wrynose or if team have any suggestion . I can rework accordingly
The patch is merged i master branch and fix the silent bug there
https://git.openembedded.org/openembedded-core/tree/meta/recipes-graphics/mesa/mesa.bbThanks ,
Ashish
Hello,
Sorry, the patch pending queue is quite long at the moment and I have not reached this patch yet.
Usually I would tell you to wait 2 weeks before pinging a patch. In this case, I think I will need a week or 2 before clearing the queue. So please wait 2 more weeks before pinging again.
Thanks for your patience.
Signature · 2 lines
Yoann Congal Smile ECS
Re: Reminder-2: [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
Sure
Thanks Yoann
Re: Reminder-2: [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
Hi Yoann,
Can you please take this fix in wrynose
Thanks ,
Ashish