Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-22 Thread Martin Jansa
So please suggest a variable name which Richard will accept as I think it's easier to use separate variable than overriding all 3 PREFERRED_VERSION_llvm* to version currently in oe-core whenever someone wants to use meta-clang. On Mon, Jan 22, 2024 at 1:58 AM Changqing Li wrote: > Yes > On

Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-21 Thread Changqing Li
Yes On 1/19/24 19:57, Martin Jansa 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. Do you need to override the  PREFERRED_VERSION_? instead of overriding

Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-21 Thread Changqing Li
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 use ?= to set

Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-19 Thread Martin Jansa
Do you need to override the PREFERRED_VERSION_? instead of overriding LLVMVERSION? Aren't you trying to fix what was fixed in proposed change a while ago: https://patchwork.yoctoproject.org/project/oe-core/patch/20230401163241.354257-1-martin.ja...@gmail.com/ On Fri, Jan 19, 2024 at 8:35 AM

Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-19 Thread Richard Purdie
On Fri, 2024-01-19 at 15:35 +0800, Changqing Li wrote: > From: Changqing Li > > 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

[OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-18 Thread Changqing Li
From: Changqing Li 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 --- meta/conf/distro/include/tcmode-default.inc | 6 +++--- 1 file