summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/clang/libcxx_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt,libcxx: Use clang for native-libcxx and gcc for compiler-rt-nativeKhem Raj2025-07-041-0/+2
| | | | | | | | | | | | | compiler-rt configure calls for c++ compiler which can cause C++ runtime to not be detected on some Yocto autobuilder workers running ubuntu 24.04 therefore let it use gcc for native version Set TOOLCHAIN_NATIVE for using clang for libcxx (From OE-Core rev: d54512c1c0a98516077b77d5414af47d8c2b8c39) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt/libcxx: Use clang as compilerRichard Purdie2025-06-091-0/+2
| | | | | | (From OE-Core rev: e75b2dee39fc0a35f764caa6b72af2a0b9beb165) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcxx: Fix cflags and ldflags for using compiler runtimeKhem Raj2025-05-121-4/+4
| | | | | | | | | | | | | | | | | | -stdlib is needed in both cxxflags and ldflags since c++ compiler will use these to chose the right c++ headers and libraries during link -rtlib and -unwindlib are only needed during linking Use LLVM_HOST_TRIPLE during cross compiling compiler-rt for target this is used by cmake to compute target and compiler triples Fix LLVM_RUNTIME_TARGETS to use HOST_ARCH, it does not need cross compile triple which HOST_SYS is passing here (From OE-Core rev: d1ae4087c548a78e90687b64764f621b070e3ec5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcxx,compiler-rt-sanitizers: Add cflags to build with clang compilerKhem Raj2025-05-051-0/+5
| | | | | | | | | | | | We are using clang-native to build the native versions of these recipes but we are missing the needed compiler flags to let it c/c++ runtime appropriately. This also ensures that meta-clang does not have to worry about the compiler settings for nativesdk/native pieces separately. (From OE-Core rev: b3b97ff790f42c5844c9f6aaeab9e23d355febfa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Merge llvm/clang family recipes from meta-clangKhem Raj2025-05-051-0/+115
This can ensure that meta-clang does not carry them and can rely on core layer while mesa can use them too. Omit time stamps in openmp from generated files to improve reproducibility fix the issue that: | file /usr/include/llvm/Config/llvm-config.h conflicts between attempted installs of lib32-llvm-dev-20.1.2-r0.core2_32 and llvm-dev-20.1.2-r0.core2_64 (From OE-Core rev: d77e398095228b34851762858a76640e3c2cb0ab) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>