Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Kai <kai.kang@windriver.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] tcmode-default.inc: clear PREFERRED_VERSION for llvm
Date: Mon, 17 Jan 2022 11:35:32 +0800	[thread overview]
Message-ID: <da314cc2-bc41-4fea-e51a-4e8cc463da7f@windriver.com> (raw)
In-Reply-To: <CAMKF1srUmN7RzBaE3FNFXjUc7rvYWwOeR=qfhaXW71XKVONcKg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2739 bytes --]

On 1/17/22 2:43 AM, Khem Raj wrote:
>
>
> On Sun, Jan 16, 2022 at 8:47 AM <kai.kang@windriver.com 
> <mailto:kai.kang@windriver.com>> wrote:
>
>     From: Kai Kang <kai.kang@windriver.com
>     <mailto:kai.kang@windriver.com>>
>
>     When include layer meta-clang which set LLVMVERSION in layer.conf, it
>     shows warnings:
>
>     | WARNING: preferred version 13.0.1 of llvm-native not available
>     (for item llvm-native)
>     | WARNING: versions of llvm-native available: 12.0.1
>     | WARNING: preferred version 13.0.1 of llvm not available (for
>     item llvm)
>     | WARNING: versions of llvm available: 12.0.1
>     | WARNING: preferred version 13.0.1 of llvm not available (for
>     item llvm-dev)
>     | WARNING: versions of llvm available: 12.0.1
>     | WARNING: preferred version 13.0.1 of llvm not available (for
>     item llvm-bugpointpasses)
>     | WARNING: versions of llvm available: 12.0.1
>     | WARNING: preferred version 13.0.1 of llvm not available (for
>     item llvm-liboptremarks)
>     | WARNING: versions of llvm available: 12.0.1
>     | WARNING: preferred version 13.0.1 of llvm not available (for
>     item llvm-llvmhello)
>     | WARNING: versions of llvm available: 12.0.1
>
>     Because only one version llvm exists, remove the PREFERRED_VERSION
>     setting for llvm.
>
>
> I think these are PROVIDERS mismatch more than anything between two 
> recipes so perhaps it’s better to keep that in sync

My doubt is that it seems only a single llvm recipe exists in oe-core 
around all the layers including meta-clang.

Regards,
Kai

>
> Fwiw llvm is not heavily used in oe-core perhaps it should be removed
>
>
>
>     Signed-off-by: Kai Kang <kai.kang@windriver.com
>     <mailto:kai.kang@windriver.com>>
>     ---
>      meta/conf/distro/include/tcmode-default.inc | 4 ----
>      1 file changed, 4 deletions(-)
>
>     diff --git a/meta/conf/distro/include/tcmode-default.inc
>     b/meta/conf/distro/include/tcmode-default.inc
>     index 49e99af8f2..2622b055a2 100644
>     --- a/meta/conf/distro/include/tcmode-default.inc
>     +++ b/meta/conf/distro/include/tcmode-default.inc
>     @@ -79,10 +79,6 @@ 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}"
>     -
>      # Rust toolchain preferred versions:
>
>      PREFERRED_VERSION_cargo ?= "${RUSTVERSION}"
>     -- 
>     2.17.1
>

-- 
Kai Kang
Wind River Linux


[-- Attachment #2: Type: text/html, Size: 4850 bytes --]

      reply	other threads:[~2022-01-17  3:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-16 16:47 [PATCH] tcmode-default.inc: clear PREFERRED_VERSION for llvm kai.kang
2022-01-16 18:43 ` Khem Raj
2022-01-17  3:35   ` Kai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=da314cc2-bc41-4fea-e51a-4e8cc463da7f@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox