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 <[email protected]> wrote: > 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 > LLVMVERSION? > > Aren't you trying to fix what was fixed in proposed change a while ago: > > https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/ > <https://urldefense.com/v3/__https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/__;!!AjveYdw8EvQ!fHtiSeYD8TPEVNtjfDtPZrodZY3GykPPupY5y-fmJHKZ6GInFWbYKkRN5UpNDB4pdgdmAzzT-aah4fEExz_0nBedyN8m3FE$> > > On Fri, Jan 19, 2024 at 8:35 AM Changqing Li < > [email protected]> wrote: > >> From: Changqing Li <[email protected]> >> >> 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 <[email protected]> >> --- >> meta/conf/distro/include/tcmode-default.inc >> <https://urldefense.com/v3/__http://tcmode-default.inc__;!!AjveYdw8EvQ!fHtiSeYD8TPEVNtjfDtPZrodZY3GykPPupY5y-fmJHKZ6GInFWbYKkRN5UpNDB4pdgdmAzzT-aah4fEExz_0nBedwNSyZRE$> >> | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/meta/conf/distro/include/tcmode-default.inc >> <https://urldefense.com/v3/__http://tcmode-default.inc__;!!AjveYdw8EvQ!fHtiSeYD8TPEVNtjfDtPZrodZY3GykPPupY5y-fmJHKZ6GInFWbYKkRN5UpNDB4pdgdmAzzT-aah4fEExz_0nBedwNSyZRE$> >> b/meta/conf/distro/include/tcmode-default.inc >> <https://urldefense.com/v3/__http://tcmode-default.inc__;!!AjveYdw8EvQ!fHtiSeYD8TPEVNtjfDtPZrodZY3GykPPupY5y-fmJHKZ6GInFWbYKkRN5UpNDB4pdgdmAzzT-aah4fEExz_0nBedwNSyZRE$> >> index 3720a4c5b8..0de858d3af 100644 >> --- a/meta/conf/distro/include/tcmode-default.inc >> <https://urldefense.com/v3/__http://tcmode-default.inc__;!!AjveYdw8EvQ!fHtiSeYD8TPEVNtjfDtPZrodZY3GykPPupY5y-fmJHKZ6GInFWbYKkRN5UpNDB4pdgdmAzzT-aah4fEExz_0nBedwNSyZRE$> >> +++ b/meta/conf/distro/include/tcmode-default.inc >> <https://urldefense.com/v3/__http://tcmode-default.inc__;!!AjveYdw8EvQ!fHtiSeYD8TPEVNtjfDtPZrodZY3GykPPupY5y-fmJHKZ6GInFWbYKkRN5UpNDB4pdgdmAzzT-aah4fEExz_0nBedwNSyZRE$> >> @@ -77,9 +77,9 @@ PREFERRED_VERSION_go-runtime ?= "${GOVERSION}" >> PREFERRED_VERSION_nativesdk-go ?= "${GOVERSION}" >> PREFERRED_VERSION_nativesdk-go-runtime ?= "${GOVERSION}" >> >> -PREFERRED_VERSION_llvm = "${LLVMVERSION}" >> -PREFERRED_VERSION_llvm-native = "${LLVMVERSION}" >> -PREFERRED_VERSION_nativesdk-llvm = "${LLVMVERSION}" >> +PREFERRED_VERSION_llvm ?= "${LLVMVERSION}" >> +PREFERRED_VERSION_llvm-native ?= "${LLVMVERSION}" >> +PREFERRED_VERSION_nativesdk-llvm ?= "${LLVMVERSION}" >> >> # Rust toolchain preferred versions: >> >> -- >> 2.25.1 >> >> >> >> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#194139): https://lists.openembedded.org/g/openembedded-core/message/194139 Mute This Topic: https://lists.openembedded.org/mt/103826050/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
