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

2024-01-23 Thread Martin Jansa
-1 This doesn't fix the issue, just makes the work around in other layers a bit easier to implement. But those other layers will still need to update whenever llvm recipe version is updated in oe-core which is annoying and unnecessary. I have to do the same with LLVM_PREFERRED_VERSION as it was

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

2024-01-22 Thread Changqing Li
From: Changqing Li If meta-clang is included, LLVMVERSION might set to version different from llvm version in oe-core, and PREFERRED_PROVIDER_llvm set to clang, In this condition, following warning is reported: WARNING: preferred version 16.0.1 of llvm-native not available (for item