diff options
author | Ross Burton <ross.burton@arm.com> | 2025-10-07 11:42:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-07 13:53:07 +0100 |
commit | f7defea6389afe7d7d8f1b009dbf3e8918fbd028 (patch) | |
tree | 78f2cc29608ee92ef57adc54c403f56dacfc023a /scripts/lib/wic/engine.py | |
parent | b2c14772297fb2f0ac619703d7185ae9e53b698e (diff) | |
download | poky-f7defea6389afe7d7d8f1b009dbf3e8918fbd028.tar.gz |
clang: use llvm recipe
Change this recipe to build just clang and clang-tools-extra, using the
LLVM provided by the llvm recipe.
This adds an 'extra-tools' PACKAGECONFIG (enabled by default) that
controls whether to build the clang-tools-extra project. This includes
clang-tidy and clangd, but the compile time and size for these
components is not insignificant.
Add a patch from upstream to support using native prebuilt tools (such
as clang-tblgen) when building standalone.
Add a patch that is being worked on with upstream to not rebuild clang-
tblgen if it has already been provided. This saves a little build time,
but more importantly for us resolves a static linking/uninative problem.
Remove the dependency on clang-cross in non-native builds by just
depending on llvm-native and using the un-prefixed tools directly.
(From OE-Core rev: aee38ae43e3a8c337af93da440758a368eab7da2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
0 files changed, 0 insertions, 0 deletions