On 1/19/24 17:29, Richard Purdie wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
On Fri, 2024-01-19 at 15:35 +0800, Changqing Li wrote:
From: Changqing Li<changqing...@windriver.com>
use ?= to set following configs in order to allow user
to override the default settings:
PREFERRED_VERSION_llvm
PREFERRED_VERSION_llvm-native
PREFERRED_VERSION_nativesdk-llvm
Signed-off-by: Changqing Li<changqing...@windriver.com>
---
meta/conf/distro/include/tcmode-default.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
You're said what this does but not *why*. I'm not against doing this
but I do want to make it clear it is actually quite risky as others
often rely on the existing behaviour.
OK, I will send a V2, add more detail commit messages.
The reason is that LLVMVERSION is set to a higher version in
meta-clang's layer.conf, and set PREFERRED_PROVIDER_llvm = "clang",
so llvm is actually provided by clang.
but this PREFERRED_VERSION_llvm setting makes bitbake llvm-native have
this warning:
WARNING: preferred version 16.0.1 of llvm-native not available (for item
llvm-native) WARNING: versions of llvm-native available: 15.0.7
I want to set this PREFERRED_VERSION_xxx to ?=, so that is meta-clang is
included,
this PREFERRED_VERSION_xxx can be override to fix above warning.
Regards
Sandy
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194106):
https://lists.openembedded.org/g/openembedded-core/message/194106
Mute This Topic: https://lists.openembedded.org/mt/103826050/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-