diff options
author | Yash Shinde <Yash.Shinde@windriver.com> | 2024-02-29 08:32:41 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-01 09:31:10 +0000 |
commit | 694b85a217209787fe8c503a4b697dc6c2bfbe84 (patch) | |
tree | a6a8d22ee6c92fd4ac494564b3ddeca5c6c4afd9 /meta/recipes-devtools | |
parent | a62cee4479d63a9dd749a2a553823b76fb698ff6 (diff) | |
download | poky-694b85a217209787fe8c503a4b697dc6c2bfbe84.tar.gz |
rust: Revert PGO to it's default
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.
(From OE-Core rev: 83bd5e12e069a60a870a7c7ed046a2827eb777a1)
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/rust/rust_1.75.0.bb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.75.0.bb index ee1ce9e050..76e1fe2d84 100644 --- a/meta/recipes-devtools/rust/rust_1.75.0.bb +++ b/meta/recipes-devtools/rust/rust_1.75.0.bb | |||
@@ -146,10 +146,6 @@ python do_configure() { | |||
146 | rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc") | 146 | rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc") |
147 | config.set("build", "rustc", e(rustc)) | 147 | config.set("build", "rustc", e(rustc)) |
148 | 148 | ||
149 | # Support for the profiler runtime to generate e.g. coverage report, | ||
150 | # PGO etc. | ||
151 | config.set("build", "profiler", e(False)) | ||
152 | |||
153 | cargo = d.expand("${WORKDIR}/rust-snapshot/bin/cargo") | 149 | cargo = d.expand("${WORKDIR}/rust-snapshot/bin/cargo") |
154 | config.set("build", "cargo", e(cargo)) | 150 | config.set("build", "cargo", e(cargo)) |
155 | 151 | ||