]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
rust: Revert PGO to it's default
authorYash Shinde <Yash.Shinde@windriver.com>
Thu, 29 Feb 2024 16:32:41 +0000 (08:32 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Mar 2024 09:30:39 +0000 (09:30 +0000)
The rust profiler PGO (Profile-guided Optimization) options was disabled as a part rustdoc reproducibility fix.
https://git.yoctoproject.org/poky/commit/meta/recipes-devtools/rust?id=321aebfa281bd28e368c684ece57867f6bd0cbe7

But, other applications (such as to build chromium with poky) requires PGO enabled (https://github.com/OSSystems/meta-browser/issues/786).

For reproducibility issue fix only "rust-demangler" change is sufficient in commit#321aebfa281. The PGO is reverted to it's default.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/rust_1.75.0.bb

index ee1ce9e050a776c110c3c80b86616c74f6e18318..76e1fe2d84ae637d800fcf4956d492da237cb2c7 100644 (file)
@@ -146,10 +146,6 @@ python do_configure() {
     rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc")
     config.set("build", "rustc", e(rustc))
 
-    # Support for the profiler runtime to generate e.g. coverage report,
-    # PGO etc.
-    config.set("build", "profiler", e(False))
-
     cargo = d.expand("${WORKDIR}/rust-snapshot/bin/cargo")
     config.set("build", "cargo", e(cargo))