Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recipes-devtools/llvm/llvm_%.bbappend: fix the build of bpftrace ptes…
…t failed Due to commit [1][2], llvm-native was added to bpftrace to provide llvm-objcopy for the ptest. But because of commit [3], llvm-native requires opengl in DISTRO_FEATURES to support libllvm. In order to make the build of bpftrace ptest work, explicitly add libllvm to PACKAGECONFIG for llvm-native if ptest enabled. According to [2][3], bpftrace used llvm-objcopy to generate BTF data for unit tests, regardless opengl in DISTRO_FEATURES, enable accelerated software renderer or not does not have side effect on bpftrace [1] kraj@bf6c02a [2] bpftrace/bpftrace@6cc531e [3] https://git.openembedded.org/openembedded-core/commit/?id=ec22bfa67f6f1766102501d4593ce29aafe8c166 Signed-off-by: Hongxu Jia <[email protected]>
- Loading branch information