Files
poky/meta/recipes-devtools
Alexander Kanavin ce5428f48a rust: restore parallel builds, disable lto only for rustdoc
The original reproducibility fix was problematic for a couple reasons:

- disabling both lto and parallel builds had an unfortunate effect of nearly
doubling rust-native and rust build times (which are slow to begin with).
Disabling lto hurts runtime performance too.

- both of these things were done for the *entire build*, while the only
problematic item is the librustdoc crate.

- lto=off option in config.toml has an effect only on building rustc
(the compiler itself), and doesn't help with rustdoc reproducibility.
Actual fix is the codegen-units setting, which indirectly disables
lto via giving llvm only one unit to work with at a time.

After some digging, here's a more targeted fix for the problem.

Why librustdoc is non-reproducible, but not anything else
remains a mystery, hidden deep in rust-llvm's lto optimization code.

(From OE-Core rev: a1977407a88a2004c3a6d2dba1d5bfe1aa1664b2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:56 +00:00
..
2024-01-21 12:27:12 +00:00
2023-07-30 07:54:44 +01:00
2024-11-25 22:23:25 +00:00
2024-08-23 09:12:37 +01:00
2024-11-27 14:58:48 +00:00
2025-02-05 12:49:56 +00:00
2024-09-03 10:21:38 +01:00
2024-11-27 14:58:48 +00:00
2024-05-28 09:38:23 +01:00
2024-08-23 09:12:37 +01:00
2024-04-16 08:07:01 +01:00
2025-01-04 12:34:04 +00:00
2025-01-21 13:26:07 +00:00
2025-02-05 12:49:56 +00:00
2025-02-05 12:49:55 +00:00
2025-01-27 15:47:09 +00:00
2024-10-29 11:19:57 +00:00
2023-09-26 10:35:27 +01:00
2024-09-30 17:00:50 +01:00
2024-11-18 22:09:02 +00:00
2025-02-05 12:49:56 +00:00
2024-08-23 09:12:37 +01:00
2024-08-08 08:26:14 +01:00
2023-03-11 00:08:41 +00:00
2024-08-28 09:14:26 +01:00
2025-01-29 10:40:41 +00:00
2025-02-05 12:49:55 +00:00
2025-02-05 12:49:55 +00:00
2024-06-04 12:04:52 +01:00
2024-05-28 09:38:24 +01:00
2024-08-29 21:58:19 +01:00
2024-09-30 17:00:51 +01:00
2024-08-28 09:14:26 +01:00
2024-12-17 11:41:53 +00:00
2025-02-05 12:49:56 +00:00
2025-01-04 12:34:04 +00:00
2025-01-20 13:38:59 +00:00
2025-01-10 11:10:00 +00:00
2024-11-22 16:53:37 +00:00
2024-12-05 17:07:10 +00:00
2025-02-05 12:49:55 +00:00
2025-01-23 11:56:47 +00:00
2025-02-05 12:49:55 +00:00
2024-04-25 10:06:03 +01:00
2025-02-05 12:49:56 +00:00