diff mbox series

[meta-ti,master] libclc: Import from removed oe-core recipe

Message ID 20260820190908.3203620-1-reatmon@ti.com
State New
Headers show
Series [meta-ti,master] libclc: Import from removed oe-core recipe | expand

Commit Message

Ryan Eatmon Aug. 20, 2026, 7:09 p.m. UTC
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

Comments

PRC Automation Aug. 20, 2026, 7:10 p.m. UTC | #1
meta-ti / na / 20260820190908.3203620-1-reatmon

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] libclc: Import from removed oe-core recipe
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Thu, 20 Aug 2026 14:09:08 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: e51a505bd5bb46c5a1eebbce1e9109596882521e

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: libclc: Import from removed oe-core recipe
- Commit SHA: efa79ecf86c0b5e5aac109f7c6c16e5653df5b68

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
    WARN: Are you missing a PV = "...". (PV-1)
        meta-ti-bsp/recipes-graphics/mesa/libclc_git.bb
    
    ERROR: SUMMARY cannot be longer than 72 characters. (SUMMARY-2)
        meta-ti-bsp/recipes-graphics/mesa/libclc_git.bb
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
diff mbox series

Patch

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"