All of lore.kernel.org
 help / color / mirror / Atom feed
* [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
@ 2026-08-20 16:33 AshishKumar Mishra
  2026-08-24  4:47 ` AshishKumar Mishra
  0 siblings, 1 reply; 5+ messages in thread
From: AshishKumar Mishra @ 2026-08-20 16:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: AshishKumar Mishra

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)

Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
---
 meta/recipes-graphics/mesa/mesa.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa.bb b/meta/recipes-graphics/mesa/mesa.bb
index 66c8f9c372..a646c16af7 100644
--- a/meta/recipes-graphics/mesa/mesa.bb
+++ b/meta/recipes-graphics/mesa/mesa.bb
@@ -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)} \
-- 
2.43.0



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

* Re: [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
  2026-08-20 16:33 [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics AshishKumar Mishra
@ 2026-08-24  4:47 ` AshishKumar Mishra
  2026-09-02  8:31   ` Reminder-2: " AshishKumar Mishra
  0 siblings, 1 reply; 5+ messages in thread
From: AshishKumar Mishra @ 2026-08-24  4:47 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 88 bytes --]

Hi Team ,
Can team consider this backported path as fix for wrynose

Thanks
Ashish

[-- Attachment #2: Type: text/html, Size: 167 bytes --]

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

* Reminder-2: [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
  2026-08-24  4:47 ` AshishKumar Mishra
@ 2026-09-02  8:31   ` AshishKumar Mishra
  2026-09-02  8:49     ` [OE-core] " Yoann Congal
  0 siblings, 1 reply; 5+ messages in thread
From: AshishKumar Mishra @ 2026-09-02  8:31 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 495 bytes --]

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

* Re: [OE-core] Reminder-2: [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
  2026-09-02  8:31   ` Reminder-2: " AshishKumar Mishra
@ 2026-09-02  8:49     ` Yoann Congal
  2026-09-02  9:00       ` AshishKumar Mishra
  0 siblings, 1 reply; 5+ messages in thread
From: Yoann Congal @ 2026-09-02  8:49 UTC (permalink / raw)
  To: ashishkumar.mishra, openembedded-core

On Wed Sep 2, 2026 at 10:31 AM CEST, AshishKumar Mishra via lists.openembedded.org wrote:
> 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

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.
-- 
Yoann Congal
Smile ECS



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

* Re: Reminder-2: [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics
  2026-09-02  8:49     ` [OE-core] " Yoann Congal
@ 2026-09-02  9:00       ` AshishKumar Mishra
  0 siblings, 0 replies; 5+ messages in thread
From: AshishKumar Mishra @ 2026-09-02  9:00 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 20 bytes --]

Sure
Thanks Yoann

[-- Attachment #2: Type: text/html, Size: 60 bytes --]

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

end of thread, other threads:[~2026-09-02  9:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 16:33 [wrynose][PATCH] mesa: align x86 mesa config with LLVM graphics AshishKumar Mishra
2026-08-24  4:47 ` AshishKumar Mishra
2026-09-02  8:31   ` Reminder-2: " AshishKumar Mishra
2026-09-02  8:49     ` [OE-core] " Yoann Congal
2026-09-02  9:00       ` AshishKumar Mishra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.