mirror of
git://git.yoctoproject.org/poky
synced 2026-08-16 09:01:07 +00:00
rust: Fix build break because of download-ci-llvm
Previously, download-ci-llvm was set to false. However, with the following commit:
7d579046c8 ,
which has been present from rust_1.83, it was changed to true. As a result, after
updating to rust_1.83, we encountered the following error during the build:
-------------------------------------------------------------------------------
| thread 'main' panicked at src/core/config/config.rs:2047:13:
| setting build-target.llvm-config is incompatible with download-ci-llvm.
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
-------------------------------------------------------------------------------
To resolve this issue, we are setting download-ci-llvm back to false.
(From OE-Core rev: d43424cba7e93ee30b410d0a024be441e2336dbd)
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
72e21bef1a
commit
5c9f0206dc
@ -129,6 +129,7 @@ python do_configure() {
|
||||
# [llvm]
|
||||
config.add_section("llvm")
|
||||
config.set("llvm", "static-libstdcpp", e(False))
|
||||
config.set("llvm", "download-ci-llvm", e(False))
|
||||
if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""):
|
||||
config.set("llvm", "use-libcxx", e(True))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user