On Fri, Aug 7, 2026 at 5:24 AM Zoltan Boszormenyi <[email protected]> wrote:

> On Thu, Aug 6, 2026 at 11:16 AM Jose Quaresma
> <[email protected]> wrote:
> >
> >
> >
> > On Thu, Aug 6, 2026 at 6:15 AM Zoltan Boszormenyi via
> lists.openembedded.org <[email protected]> wrote:
> >>
> >> According to the release notes at
> >> https://lists.freedesktop.org/archives/mesa-dev/2026-August/226690.html
> >>
> >> | One important note for packagers is that there is now a Mesa community
> >> | maintained libclc fork that is verified to pass the OpenCL CTS with
> >> | Mesa/Rusticl, and will fix bugs after an upstream libclc major release
> >> | branch goes EoL. The Mesa build system will pick it up when available,
> >> | and fall back to upstream libclc if not. This libclc fork is not
> >> | verified for any other usages or users of libclc outside of Mesa.
> >>
> >> Rusticl would complain if about not this libclc fork is used due to
> >> OpenCL CTS compliance.
> >>
> >> Signed-off-by: Zoltán Böszörményi <[email protected]>
> >> ---
> >>  meta/recipes-graphics/mesa/mesa-tools-native.bb | 2 +-
> >>  meta/recipes-graphics/mesa/mesa.inc             | 4 ++--
> >>  2 files changed, 3 insertions(+), 3 deletions(-)
> >>
> >> diff --git a/meta/recipes-graphics/mesa/mesa-tools-native.bb
> b/meta/recipes-graphics/mesa/mesa-tools-native.bb
> >> index 20207450bf..c495d2e8a8 100644
> >> --- a/meta/recipes-graphics/mesa/mesa-tools-native.bb
> >> +++ b/meta/recipes-graphics/mesa/mesa-tools-native.bb
> >> @@ -11,7 +11,7 @@ PACKAGECONFIG += "gallium-llvm"
> >>  # to PACKAGECONFIG like in mesa.inc
> >>  PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland',
> d)}"
> >>
> >> -DEPENDS += "libclc-native spirv-tools-native
> spirv-llvm-translator-native"
> >> +DEPENDS += "mesa-libclc-native spirv-tools-native
> spirv-llvm-translator-native"
> >>
> >>  EXTRA_OEMESON += " \
> >>      -Dmesa-clc=enabled -Dinstall-mesa-clc=true
> -Dmesa-clc-bundle-headers=enabled \
> >> diff --git a/meta/recipes-graphics/mesa/mesa.inc
> b/meta/recipes-graphics/mesa/mesa.inc
> >> index a50b900cf2..fa51d62bfc 100644
> >> --- a/meta/recipes-graphics/mesa/mesa.inc
> >> +++ b/meta/recipes-graphics/mesa/mesa.inc
> >> @@ -109,7 +109,7 @@ PACKAGECONFIG[opengl] = "-Dopengl=true,
> -Dopengl=false"
> >>
> >>  # "opencl" also requires libclc and gallium-llvm to be present in
> PACKAGECONFIG!
> >>  # Be sure to enable them both for the target and for the native build.
> >> -PACKAGECONFIG[opencl] = "-Dgallium-rusticl=true
> -Dmesa-clc-bundle-headers=enabled, -Dgallium-rusticl=false,
> bindgen-cli-native clang libclc spirv-tools spirv-llvm-translator"
> >> +PACKAGECONFIG[opencl] = "-Dgallium-rusticl=true
> -Dmesa-clc-bundle-headers=enabled, -Dgallium-rusticl=false,
> bindgen-cli-native clang mesa-libclc spirv-tools spirv-llvm-translator"
> >>
> >>  X11_DEPS = "xorgproto virtual/libx11 libxext libxxf86vm libxdamage
> libxfixes xrandr xorgproto libxshmfence"
> >>  # "x11" requires "opengl"
> >> @@ -253,7 +253,7 @@ RPROVIDES:libopencl-mesa += "virtual-opencl-icd"
> >>  RPROVIDES:libgles2-mesa += "libgles3-mesa"
> >>  RPROVIDES:libgles2-mesa-dev += "libgles3-mesa-dev"
> >>
> >> -RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG',
> 'opencl', 'libclc', '', d)}"
> >> +RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG',
> 'opencl', 'mesa-libclc', '', d)}"
> >
> >
> > Is it possible to have both versions installed side-by-side on the
> target?
>
> Yes. libclc and mesa-libclc can be installed side-by-side.
> Only meta-libclc will be used by mesa, if built with that, though.
>
> > I'm asking this because there might be a collision between the fork and
> the original.
>
> There is none.
> The installation directory and the pkg-config file are renamed in the fork.
>

Nice! Thanks


>
> >
> > Jose
> >
> >>
> >>
> >>  PACKAGES =+ "libegl-mesa libegl-mesa-dev \
> >>               libgallium \
> >> --
> >> 2.55.0
> >>
> >>
> >> 
> >>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243001): 
https://lists.openembedded.org/g/openembedded-core/message/243001
Mute This Topic: https://lists.openembedded.org/mt/120622539/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to