diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2024-12-01 22:51:27 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-12-02 15:58:11 -0800 |
| commit | 147349b7334b8a25b96bb08c2361ae0ae95e7eb6 (patch) | |
| tree | 808a7241d2a15f066241156fd7310ee9010a1a6c /recipes-devtools | |
| parent | 275d0a5ed688886e907deb71e4ec6fd94fd24f91 (diff) | |
| download | meta-clang-147349b7334b8a25b96bb08c2361ae0ae95e7eb6.tar.gz | |
clang: remove PROVIDES:append settings
With these settings, we'll have multiple providers of llvm. This means
that with pristine poky master + meta-clang master, we'll have some
output like below:
NOTE: Multiple providers are available for llvm-native (llvm-native, clang-native)
Consider defining a PREFERRED_PROVIDER entry to match llvm-native
And when running 'bitbake world', we'll get error messages like below:
ERROR: Multiple .bb files are due to be built which each provide llvm-native:
virtual:native:/PATH/TO/poky/meta/recipes-devtools/llvm/llvm_19.1.4.bb
virtual:native:/PATH/TO/Yocto/poky/meta-clang/recipes-devtools/clang/clang_git.bb
As the README.md has already specified how to use this layer, let's
remove such settings before sorting things out.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/clang/clang_git.bb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index 56b569f..1ad40f2 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb | |||
| @@ -303,9 +303,6 @@ do_install:append:class-nativesdk () { | |||
| 303 | sed -i -e 's,${B},,g' ${D}${libdir}/cmake/llvm/LLVMConfig.cmake | 303 | sed -i -e 's,${B},,g' ${D}${libdir}/cmake/llvm/LLVMConfig.cmake |
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | PROVIDES:append:class-native = " llvm-native" | ||
| 307 | PROVIDES:append:class-target = " llvm" | ||
| 308 | |||
| 309 | PACKAGES =+ "${PN}-libllvm ${PN}-lldb-python ${PN}-libclang-cpp ${PN}-tidy ${PN}-format ${PN}-tools \ | 306 | PACKAGES =+ "${PN}-libllvm ${PN}-lldb-python ${PN}-libclang-cpp ${PN}-tidy ${PN}-format ${PN}-tools \ |
| 310 | libclang lldb lldb-server liblldb llvm-linker-tools" | 307 | libclang lldb lldb-server liblldb llvm-linker-tools" |
| 311 | 308 | ||
