summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Fix install location for native buildsKhem Raj9 days1-5/+10
| | | | | | | | | | | | | | | | Currently, clang when used for native builds and uses --rtlib=compiler-rt does not find the LLVM runtime because its installed in different directory than where compiler expects it to be. As a result, build fails for packages using clang in both capacity ( native and cross ) e.g. qtwebengine Make the build work across native sanitizers as well. (From OE-Core rev: 4d55698330ce6720cab5dfe9b4e00efeb40ba6e6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt,libcxx: Use clang for native-libcxx and gcc for compiler-rt-nativeKhem Raj2025-07-041-0/+1
| | | | | | | | | | | | | 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>
* compiler-rt-sanitizers: Fix native builds on aarch64 build hostsKhem Raj2025-05-151-6/+11
| | | | | | | | | | | | | Add logic to deduce compiler-rt target architecture based on tune features Cleanup the cmake options for native/nativesdk/target recipes (From OE-Core rev: 579d4d85574624e39140fb74f6d37dcd7bf363a6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt-sanitizers: Omit the musl architecture restrictionsKhem Raj2025-05-081-6/+0
| | | | | | | | | | | sanitizers are working fine on arm/aarch64 as well. Remove the compatible host restriction (From OE-Core rev: 3ebe53ddc99643f96a87e751766f02f0b2203a07) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.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/+6
| | | | | | | | | | | | 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/+131
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>