Hi Zoltan, I’ve skimmed the discussion on the MR that created this and am wondering if this series should also include “libclc: remove”. Nothing else in the layer index uses libclc but mesa, and we don’t want recipes in core that never get built.
Ross > On 7 Aug 2026, at 06:44, Zoltan Boszormenyi via lists.openembedded.org > <[email protected]> wrote: > > See the reasoning and discussion at > https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/43020 > which was merged and backported to 26.2.0. > > TL;DR: LLVM constantly introduces breaking changes that cause > regressions for running OpenCL CTS with Rusticl and finally > Karol Herbst had enough. > > This fork is from the LLVM 22 version of libclc and contains the > necessary fixes to make Rusticl pass OpenCL CTS. > > Signed-off-by: Zoltán Böszörményi <[email protected]> > --- > meta/conf/distro/include/maintainers.inc | 1 + > .../mesa/mesa-libclc_22.1.8.3.bb | 26 +++++++++++++++++++ > 2 files changed, 27 insertions(+) > create mode 100644 meta/recipes-graphics/mesa/mesa-libclc_22.1.8.3.bb > > diff --git a/meta/conf/distro/include/maintainers.inc > b/meta/conf/distro/include/maintainers.inc > index c5b701c244..feccf29ce4 100644 > --- a/meta/conf/distro/include/maintainers.inc > +++ b/meta/conf/distro/include/maintainers.inc > @@ -524,6 +524,7 @@ RECIPE_MAINTAINER:pn-menu-cache = "Ross Burton > <[email protected]>" > RECIPE_MAINTAINER:pn-mesa = "Unassigned <[email protected]>" > RECIPE_MAINTAINER:pn-mesa-demos = "Unassigned <[email protected]>" > RECIPE_MAINTAINER:pn-mesa-gl = "Unassigned <[email protected]>" > +RECIPE_MAINTAINER:pn-mesa-libclc = "Zoltán Böszörményi <[email protected]>" > RECIPE_MAINTAINER:pn-mesa-tools-native = "Unassigned > <[email protected]>" > RECIPE_MAINTAINER:pn-meson = "Trevor Gamblin <[email protected]>" > RECIPE_MAINTAINER:pn-meta-environment-${MACHINE} = "Richard Purdie > <[email protected]>" > diff --git a/meta/recipes-graphics/mesa/mesa-libclc_22.1.8.3.bb > b/meta/recipes-graphics/mesa/mesa-libclc_22.1.8.3.bb > new file mode 100644 > index 0000000000..c93b5b9d9d > --- /dev/null > +++ b/meta/recipes-graphics/mesa/mesa-libclc_22.1.8.3.bb > @@ -0,0 +1,26 @@ > +SUMMARY = "Mesa fork of libclc: Implementation of the library requirements > of the OpenCL C programming language." > +HOMEPAGE = "https://gitlab.freedesktop.org/karolherbst/mesa-libclc/" > +SECTION = "devel" > +LICENSE = "Apache-2.0-with-LLVM-exception" > +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=7cc795f6cbb2d801d84336b83c8017db" > + > +SRC_URI = > "git://gitlab.freedesktop.org/karolherbst/mesa-libclc.git;protocol=https;branch=llvm_22" > + > +SRCREV = "87f66007242ff10e9e84bf32be84f9057f6abc75" > + > +inherit cmake pkgconfig > + > +# Depend explicitly on clang-native instead of using TOOLCHAIN as the build > +# objects from this recipe are build explicitly using clang for GPU targets. > +# We could INHIBIT_DEFAULT_DEPS to avoid any other toolchain but then we need > +# to wrestle CMake to configure without a toolchain. > +DEPENDS += "clang-native spirv-llvm-translator-native" > + > +# Semicolon-separated list of targets to build > +LIBCLC_TARGETS ?= "all" > + > +EXTRA_OECMAKE += "-DLIBCLC_TARGETS_TO_BUILD='${LIBCLC_TARGETS}'" > + > +FILES:${PN} += "${datadir}/mesa-clc" > + > +BBCLASSEXTEND = "native nativesdk" > -- > 2.55.0 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#243137): https://lists.openembedded.org/g/openembedded-core/message/243137 Mute This Topic: https://lists.openembedded.org/mt/120638651/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
