Skip to content

Commit

Permalink
rust: Revert PGO to it's default
Browse files Browse the repository at this point in the history
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 (OSSystems/meta-browser#786).

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

(From OE-Core rev: 8a3049bc1abf5b4ca4e30598ed88dd68e42e8d1b)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
  • Loading branch information
Yash Shinde authored and rpurdie committed Mar 1, 2024
1 parent fbb28d0 commit 76a9428
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions meta/recipes-devtools/rust/rust_1.75.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 76a9428

Please sign in to comment.