-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building clang conflicts with llvm #896
Comments
try building llvm recipe with |
@kraj I will check this later, but please also see the additional context part. |
So the fixup should be enabling PREFERRED_PROVIDER / PROVIDES if bblayeres.conf include meta-clang? |
It causes more file conflicts with
I still think remove |
Describe the bug
I have meta-clang layer enabled, but the default toolchain is still pointed to the standard gcc from OE-Core.
I tried building both
llvm
andclang
pacakges at the same time. However this fails with the following error:To Reproduce
Steps to reproduce the behavior:
bitbake llvm llvm-native clang clang-native
Expected behavior
It is possible to build both recipes at the same time
Additional context
I stumbled upon the LLVM and Clang recipes conflict when I was trying to build the OpenCL support in mesa. In addition to the mentioned conflict, it also provides the following conflict (because it pulls in both llvm (natively) and clang (via libclc dependency)).
Enabling the PREFERRED_PROVIDER / PROVIDES from README.md seems to fix this issue. Generally I think that these settings should be made a default in meta-clang.
The text was updated successfully, but these errors were encountered: