All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti][master][PATCH] libclc: Import from removed oe-core recipe
@ 2026-08-20 19:09 Ryan Eatmon
  2026-08-20 19:10 ` PRC Automation
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Eatmon @ 2026-08-20 19:09 UTC (permalink / raw)
  To: Praneeth Bajjuri, Denys Dmytriyenko, meta-ti

A recent change in oe-core [1] has removed the libclc recipe, but our
mesa-pvr recipes all depend on this recipe.  Import the final version of
the libclc recipe until we no longer need it.

[1] https://git.openembedded.org/openembedded-core/commit/?id=5457c35142cc9b6d3fa537cc5ef56e90cce85c88

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../recipes-graphics/mesa/libclc_git.bb       | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-graphics/mesa/libclc_git.bb

diff --git a/meta-ti-bsp/recipes-graphics/mesa/libclc_git.bb b/meta-ti-bsp/recipes-graphics/mesa/libclc_git.bb
new file mode 100644
index 00000000..e8645d4b
--- /dev/null
+++ b/meta-ti-bsp/recipes-graphics/mesa/libclc_git.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Implementation of the library requirements of the OpenCL C programming language."
+HOMEPAGE = "https://libclc.llvm.org"
+SECTION = "devel"
+
+require recipes-devtools/clang/common-clang.inc
+require recipes-devtools/clang/common-source.inc
+
+LIC_FILES_CHKSUM = "file://libclc/LICENSE.TXT;md5=7cc795f6cbb2d801d84336b83c8017db"
+
+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"
+
+OECMAKE_SOURCEPATH = "${S}/libclc"
+
+# Semicolon-separated list of targets to build
+LIBCLC_TARGETS ?= "all"
+
+EXTRA_OECMAKE += "-DLIBCLC_TARGETS_TO_BUILD='${LIBCLC_TARGETS}'"
+
+FILES:${PN} += "${datadir}/clc"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.43.0



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

end of thread, other threads:[~2026-08-20 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 19:09 [meta-ti][master][PATCH] libclc: Import from removed oe-core recipe Ryan Eatmon
2026-08-20 19:10 ` PRC Automation

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.