From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: raj.khem@gmail.com, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 07/19] clang: Migrate clang and related recipes from meta-clang
Date: Tue, 07 Jan 2025 13:54:44 +0000 [thread overview]
Message-ID: <9838c182548b234dab425b3e74982cd9a98659e6.camel@linuxfoundation.org> (raw)
In-Reply-To: <20241105184540.3450302-7-raj.khem@gmail.com>
On Tue, 2024-11-05 at 10:45 -0800, Khem Raj via lists.openembedded.org wrote:
> This includes compiler, tools and runtime libraries, they are
> brought in together to avoid major rehashing due to their
> interdependence.
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../clang/clang-cross-canadian_git.bb | 36 ++
> .../recipes-devtools/clang/clang-cross_git.bb | 35 ++
> .../clang/clang-crosssdk_git.bb | 34 ++
> meta/recipes-devtools/clang/clang.inc | 24 +
> ...ibunwind-headers-when-LIBCXXABI_LIBU.patch | 60 +++
> ...-support-a-new-embedded-linux-target.patch | 309 ++++++++++++
> ...lify-cross-compilation.-Don-t-use-na.patch | 44 ++
> ...ryInfo-Undefine-libc-functions-if-th.patch | 90 ++++
> ...-env-override-of-exe-and-libdir-path.patch | 71 +++
> ...g-driver-Check-sysroot-for-ldso-path.patch | 75 +++
> ...tools.cpp-Add-lssp_nonshared-on-musl.patch | 32 ++
> ...08-clang-Prepend-trailing-to-sysroot.patch | 39 ++
> ...e-the-target-sysroot-for-compiler-ru.patch | 41 ++
> ...efine-releative-gcc-installation-dir.patch | 47 ++
> ...ad-and-ldl-along-with-lunwind-for-st.patch | 35 ++
> ...UTABLE-when-cross-compiling-for-nati.patch | 24 +
> ...3-Check-for-atomic-double-intrinsics.patch | 34 ++
> ...gure-for-packages-using-find_package.patch | 115 +++++
> ...ce-dir-location-for-cross-toolchains.patch | 42 ++
> ...-dyld-prefix-when-checking-sysroot-f.patch | 79 +++
> ...-clang-Use-python3-in-python-scripts.patch | 35 ++
> ...-Yocto-based-GCC-install-search-path.patch | 70 +++
> ...or-for-adding-OE-distro-vendor-names.patch | 32 ++
> ...ot-use-backtrace-APIs-on-non-glibc-l.patch | 68 +++
> ...iple-for-non-debian-multiarch-linux-.patch | 28 ++
> ...libunwind-Added-unw_backtrace-method.patch | 56 +++
> ...ot-use-install-relative-libc-headers.patch | 34 ++
> ...-Fix-lib-paths-for-OpenEmbedded-Host.patch | 79 +++
> ...ry-search-path-for-OpenEmbedded-Host.patch | 84 ++++
> ...0026-lldb-Link-with-libatomic-on-x86.patch | 33 ++
> ...ompiler-rt-Enable-__int128-for-ppc32.patch | 73 +++
> ...ot-use-cmake-infra-to-detect-libzstd.patch | 62 +++
> ...t-Fix-stat-struct-s-size-for-O32-ABI.patch | 44 ++
> ...f-_TIME_BITS-along-with-_FILE_OFFSET.patch | 43 ++
> ....cpp-ARMLibDirs-search-also-in-lib32.patch | 81 +++
> ...d-OE-specific-ABI-triple-for-N32-ABI.patch | 78 +++
> ...unwind.pc.in-and-llvm-config-scripts.patch | 90 ++++
> ...spect-LLVM_LIBDIR_SUFFIX-like-other-.patch | 92 ++++
> meta/recipes-devtools/clang/clang_git.bb | 463 ++++++++++++++++++
> meta/recipes-devtools/clang/common-source.inc | 17 +
> meta/recipes-devtools/clang/common.inc | 66 +++
> .../clang/compiler-rt-sanitizers_git.bb | 123 +++++
> .../recipes-devtools/clang/compiler-rt_git.bb | 126 +++++
> meta/recipes-devtools/clang/libclc_git.bb | 36 ++
> meta/recipes-devtools/clang/libcxx_git.bb | 115 +++++
> .../clang/llvm-project-source.bb | 12 +
> .../clang/llvm-project-source.inc | 99 ++++
> .../clang/nativesdk-clang-glue.bb | 36 ++
> meta/recipes-devtools/clang/openmp_git.bb | 65 +++
> 49 files changed, 3506 insertions(+)
> create mode 100644 meta/recipes-devtools/clang/clang-cross-canadian_git.bb
> create mode 100644 meta/recipes-devtools/clang/clang-cross_git.bb
> create mode 100644 meta/recipes-devtools/clang/clang-crosssdk_git.bb
> create mode 100644 meta/recipes-devtools/clang/clang.inc
> create mode 100644 meta/recipes-devtools/clang/clang/0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0002-compiler-rt-support-a-new-embedded-linux-target.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0005-llvm-allow-env-override-of-exe-and-libdir-path.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0006-clang-driver-Check-sysroot-for-ldso-path.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0007-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0008-clang-Prepend-trailing-to-sysroot.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0010-clang-Define-releative-gcc-installation-dir.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0012-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0013-Check-for-atomic-double-intrinsics.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0014-cmake-Fix-configure-for-packages-using-find_package.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0015-clang-Fix-resource-dir-location-for-cross-toolchains.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0016-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0017-clang-Use-python3-in-python-scripts.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0018-For-x86_64-set-Yocto-based-GCC-install-search-path.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0019-llvm-Insert-anchor-for-adding-OE-distro-vendor-names.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0020-compiler-rt-Do-not-use-backtrace-APIs-on-non-glibc-l.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0021-clang-Fix-x86-triple-for-non-debian-multiarch-linux-.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0022-libunwind-Added-unw_backtrace-method.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0023-clang-Do-not-use-install-relative-libc-headers.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0024-Fix-lib-paths-for-OpenEmbedded-Host.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0025-Correct-library-search-path-for-OpenEmbedded-Host.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0026-lldb-Link-with-libatomic-on-x86.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0027-compiler-rt-Enable-__int128-for-ppc32.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0028-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0029-compiler-rt-Fix-stat-struct-s-size-for-O32-ABI.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0030-compiler-rt-Undef-_TIME_BITS-along-with-_FILE_OFFSET.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0031-ToolChains-Gnu.cpp-ARMLibDirs-search-also-in-lib32.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0032-clang-llvm-Add-OE-specific-ABI-triple-for-N32-ABI.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0033-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch
> create mode 100644 meta/recipes-devtools/clang/clang/0034-scan-build-py-respect-LLVM_LIBDIR_SUFFIX-like-other-.patch
> create mode 100644 meta/recipes-devtools/clang/clang_git.bb
> create mode 100644 meta/recipes-devtools/clang/common-source.inc
> create mode 100644 meta/recipes-devtools/clang/common.inc
> create mode 100644 meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
> create mode 100644 meta/recipes-devtools/clang/compiler-rt_git.bb
> create mode 100644 meta/recipes-devtools/clang/libclc_git.bb
> create mode 100644 meta/recipes-devtools/clang/libcxx_git.bb
> create mode 100644 meta/recipes-devtools/clang/llvm-project-source.bb
> create mode 100644 meta/recipes-devtools/clang/llvm-project-source.inc
> create mode 100644 meta/recipes-devtools/clang/nativesdk-clang-glue.bb
> create mode 100644 meta/recipes-devtools/clang/openmp_git.bb
One of the first questions that will be asked are what is the
status/plan for the 34 patches here? Can we update the patch
descriptions and status to be better than "Pending"? I'd like ideally
like a plan about how we could engage with upstream to reduce this
queue. I have made an effort to clean up the gcc ones and others in
core.
Cheers,
Richard
next prev parent reply other threads:[~2025-01-07 13:54 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-05 18:45 [PATCH 01/19] clang.inc: Global settings for clang toolchain Khem Raj
2024-11-05 18:45 ` [PATCH 02/19] nonclangable.inc: Add recipe which can not be built with clang Khem Raj
2025-01-07 13:52 ` [OE-core] " Richard Purdie
2024-11-05 18:45 ` [PATCH 03/19] nonscanable.inc: Includes recipes which can not be used with clang-scan Khem Raj
2024-11-05 18:45 ` [PATCH 04/19] scan-build.bbclass: Add class to enable clang static analyser Khem Raj
2025-01-07 13:50 ` [OE-core] " Richard Purdie
2024-11-05 18:45 ` [PATCH 05/19] clang-native.bbclass: Abstraction to enable clang as native compiler Khem Raj
2024-11-05 18:45 ` [PATCH 06/19] cmake-native.bbclass: Abstraction to use cmake with native toolchains Khem Raj
2024-11-05 18:45 ` [PATCH 07/19] clang: Migrate clang and related recipes from meta-clang Khem Raj
2025-01-07 13:54 ` Richard Purdie [this message]
2024-11-05 18:45 ` [PATCH 08/19] clang/recipes: Add missing SUMMARY field Khem Raj
2025-01-07 13:55 ` [OE-core] " Richard Purdie
2024-11-05 18:45 ` [PATCH 09/19] llvm: Delete Khem Raj
2024-11-05 18:45 ` [PATCH 10/19] spirv-llvm-translator: Add recipe Khem Raj
2024-11-05 18:45 ` [PATCH 11/19] multilib.conf: Add llvm-project-source recipe to NON_MULTILIB_RECIPES Khem Raj
2024-11-05 18:45 ` [PATCH 12/19] distro/defaultsetup: Inherit clang, nonclangable, and nonscanable Khem Raj
2024-11-05 18:45 ` [PATCH 13/19] maintainers.inc: Add myself as maintainer for clang family of recipes Khem Raj
2024-11-05 18:45 ` [PATCH 14/19] clang: PROVIDE llvm-native and llvm Khem Raj
2024-11-05 18:45 ` [PATCH 15/19] rpm: Use gcc to compile always Khem Raj
2024-11-05 18:45 ` [PATCH 16/19] sdks: Add clang toolchain to SDKs Khem Raj
2024-11-06 10:38 ` [OE-core] " Mathieu Dubois-Briand
2024-11-06 14:54 ` Khem Raj
2024-11-05 18:45 ` [PATCH 17/19] toolchain-scripts.bbclass: Add env variables in SDK to use clang/clang++ Khem Raj
2024-11-05 18:45 ` [PATCH 18/19] mesa: update 24.0.7 -> 24.2.2 Khem Raj
2024-11-06 11:30 ` [OE-core] " Alexander Kanavin
2024-11-06 14:53 ` Khem Raj
2024-11-05 18:45 ` [PATCH 19/19] mesa: add support for rusticl Khem Raj
2024-11-06 11:27 ` [OE-core] " Alexander Kanavin
2024-11-06 15:54 ` [OE-core] [PATCH 01/19] clang.inc: Global settings for clang toolchain Richard Purdie
2024-11-06 16:14 ` Khem Raj
2025-01-07 13:50 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9838c182548b234dab425b3e74982cd9a98659e6.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox