Files
poky/meta/recipes-devtools
Mingli Yu 12f2dd25e6 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: bd451b9cd951778cc6cdb0fe13f87c723c153d27)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
..
2024-01-21 12:27:12 +00:00
2023-07-30 07:54:44 +01:00
2024-03-01 09:28:51 +00:00
2024-02-08 17:12:54 +00:00
2024-02-03 22:08:26 +00:00
2023-05-05 11:07:25 +01:00
2024-07-03 06:28:37 -07:00
2024-03-05 12:24:49 +00:00
2024-06-14 05:19:22 -07:00
2024-08-26 05:18:43 -07:00
2023-09-26 10:35:27 +01:00
2023-12-02 17:18:57 +00:00
2024-05-03 06:12:22 -07:00
2024-03-07 17:25:02 +00:00
2023-06-27 16:23:40 +01:00
2023-03-11 00:08:41 +00:00
2024-07-26 07:43:46 -07:00
2023-09-26 10:35:27 +01:00
2023-04-13 11:56:07 +01:00
2024-08-10 06:34:25 -07:00
2024-08-10 06:34:25 -07:00
2023-12-21 10:38:29 +00:00
2024-03-01 09:28:51 +00:00
2024-03-07 17:25:03 +00:00
2024-05-03 06:12:21 -07:00
2024-02-06 10:32:19 +00:00
2024-03-01 09:28:52 +00:00
2024-03-18 12:21:45 +00:00