From: <kai.kang@windriver.com>
To: <raj.khem@gmail.com>
Cc: <openembedded-core@lists.openembedded.org>
Subject: [PATCH] tcmode-default.inc: clear PREFERRED_VERSION for llvm
Date: Mon, 17 Jan 2022 00:47:06 +0800 [thread overview]
Message-ID: <20220116164706.4555-1-kai.kang@windriver.com> (raw)
From: Kai Kang <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.
Signed-off-by: Kai Kang <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
next reply other threads:[~2022-01-16 16:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-16 16:47 kai.kang [this message]
2022-01-16 18:43 ` [PATCH] tcmode-default.inc: clear PREFERRED_VERSION for llvm Khem Raj
2022-01-17 3:35 ` Kai
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=20220116164706.4555-1-kai.kang@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