]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libcxx/compiler-rt: Add support for llvm-libgcc
authorKhem Raj <raj.khem@gmail.com>
Wed, 29 Oct 2025 06:35:31 +0000 (23:35 -0700)
committerKhem Raj <raj.khem@gmail.com>
Fri, 31 Oct 2025 18:54:28 +0000 (11:54 -0700)
commit7cec96d860268630aec0c666e93c0ac690078f5b
tree62fd27032d5a9edf1a66f5003bd492458ac82547
parent317925232764f21f53ee8dca6479f5cd847aa029
libcxx/compiler-rt: Add support for llvm-libgcc

llvm-libgcc is a drop-in replacement for libgcc and crt* files
and its API compatible as well, built out of compiler-rt
and libunwind projects.

Its only enabled when TC_CXX_RUNTIME is set to 'llvm'
since user intends to use LLVM provided runtime packages
as default platform/system runtime.

Move libunwind out of libcxx recipe into compiler-rt
recipe, to facilicate building llvm-libgcc

Package and build crt* files, creating symlinks for
names as they are expected by gcc, to help build packages
with gcc when and where needed.

Always use LLD linker to build compiler-rt since the
versioning script to generate libgcc compatibility
expects it to be LLD and not BFD linker doing the link

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-devtools/clang/compiler-rt_git.bb
meta/recipes-devtools/clang/libcxx_git.bb