Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V4 1/3] rust: Fix build break because of download-ci-llvm
@ 2025-03-05 13:44 Deepesh.Varatharajan
  2025-03-05 13:44 ` [PATCH V4 2/3] rust: Upgrade 1.82.0->1.83.0 Deepesh.Varatharajan
  2025-03-05 13:44 ` [PATCH V4 3/3] rust: Oe-selftest changes for rust v1.83.0 Deepesh.Varatharajan
  0 siblings, 2 replies; 14+ messages in thread
From: Deepesh.Varatharajan @ 2025-03-05 13:44 UTC (permalink / raw)
  To: openembedded-core
  Cc: Shivaprasad.Moodalappa, Sundeep.Kokkonda, Deepesh.Varatharajan

From: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>

Previously, download-ci-llvm was set to false. However, with the following commit:
https://github.com/rust-lang/rust/commit/7d579046c80d3de3143dcb8b2db5640f95b5383c ,
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.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
---
 meta/recipes-devtools/rust/rust_1.82.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/rust/rust_1.82.0.bb b/meta/recipes-devtools/rust/rust_1.82.0.bb
index c4f8ee7108..cd470b1883 100644
--- a/meta/recipes-devtools/rust/rust_1.82.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.82.0.bb
@@ -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))
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-03-18 10:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 13:44 [PATCH V4 1/3] rust: Fix build break because of download-ci-llvm Deepesh.Varatharajan
2025-03-05 13:44 ` [PATCH V4 2/3] rust: Upgrade 1.82.0->1.83.0 Deepesh.Varatharajan
2025-03-07 21:02   ` [OE-core] [PATCH V4 2/3] rust: Upgrade 1.82.0->1.83.0 --> bloat alert !! Randy MacLeod
2025-03-07 23:37     ` Richard Purdie
2025-03-13 18:48       ` Randy MacLeod
2025-03-14 12:32         ` Yash Shinde
2025-03-14 12:52         ` Yash Shinde
2025-03-14 13:48           ` Randy MacLeod
2025-03-14 15:50             ` Yash Shinde
2025-03-18  0:35               ` Randy MacLeod
2025-03-18 10:34                 ` Yash Shinde
2025-03-12  9:52   ` [OE-core] [PATCH V4 2/3] rust: Upgrade 1.82.0->1.83.0 Alexander Kanavin
2025-03-14  4:38     ` Deepesh Varatharajan
2025-03-05 13:44 ` [PATCH V4 3/3] rust: Oe-selftest changes for rust v1.83.0 Deepesh.Varatharajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox