diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2024-08-08 17:23:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-09 22:33:38 +0100 |
commit | 2bf34e2859879b912fa1bc9d9d0124233bc2081c (patch) | |
tree | 7987569fc65754bac96517ef98e17b67ea3ad370 /meta/recipes-devtools/rust/files/hardcodepaths.patch | |
parent | c8aad0871c2f4c7d311e6cbfe76f690069821123 (diff) | |
download | poky-2bf34e2859879b912fa1bc9d9d0124233bc2081c.tar.gz |
llvm: Enable libllvm for native build
The bpftrace recipe under meta-clang[1] needs llvm-objcopy [2] during
do_confgure phase otherwise there comes below error:
| CMake Error at tests/data/CMakeLists.txt:6 (find_program):
| Could not find LLVM_OBJCOPY using the following names: llvm-objcopy,
| llvm-objcopy-18, llvm18-objcopy
The commit ec22bfa67f llvm: allow building libllvm in native builds, subject to PACKAGECONFIG [3]
introduces libllvm to manage the llvm function for native build
maybe because there is only mesa-native to use llvm-native.
Considering there are other recipes such as bpftrace needs llvm-native,
so enable libllvm for native build.
[1] https://github.com/kraj/meta-clang
[2] https://github.com/bpftrace/bpftrace/blob/master/tests/data/CMakeLists.txt
[3] https://git.openembedded.org/openembedded-core/commit/?id=ec22bfa67f6f1766102501d4593ce29aafe8c166
(From OE-Core rev: c4f08872bff303998dc15c7d224a49abc5e74965)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/files/hardcodepaths.patch')
0 files changed, 0 insertions, 0 deletions