]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libclc: split out of clang
authorRoss Burton <ross.burton@arm.com>
Mon, 21 Jul 2025 13:24:23 +0000 (14:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Jul 2025 21:59:39 +0000 (22:59 +0100)
commit33a8742a1280b4c6779a7aa487c2dd4a713babe6
tree5e2b73b9491a61099a949cef88606d2b427ae919
parent0ea50cba64b5004722051c0ece900443dc4ca929
libclc: split out of clang

Split the libclc subproject out of the clang recipe and into a dedicated
libclc recipe.

This is useful because libclc is the OpenCL runtime library and as such
isn't target-specific and needs a native clang to build, not a target
libllvm.

Verified that nothing is dropped by adding clang and libclc to an image
and verifying that the file list is the same before and after this
change.

We need to patch the libclc CMakeLists to allow it to use an out-of-tree
prepare_builtins binary, discussion is ongoing with upstream to resolve
this properly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/maintainers.inc
meta/recipes-devtools/clang/clang/0001-libclc-allow-existing-prepare-builtins-in-standalone.patch [new file with mode: 0644]
meta/recipes-devtools/clang/clang_git.bb
meta/recipes-devtools/clang/common.inc
meta/recipes-devtools/clang/libclc_git.bb [new file with mode: 0644]