Skip to content

Commit 320eefc

Browse files
Auto merge of #112049 - Kobzol:pgo-omit-benchmarks, r=<try>
[do not merge] CI experiments
2 parents c5dc558 + bd98cd5 commit 320eefc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tools/opt-dist/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ fn execute_pipeline(
341341
// the final dist build. However, when BOLT optimizes an artifact, it does so *in-place*,
342342
// therefore it will actually optimize all the hard links, which means that the final
343343
// packaged `libLLVM.so` file *will* be BOLT optimized.
344-
bolt_optimize(&llvm_lib, &llvm_profile, env)
345-
.context("Could not optimize LLVM with BOLT")?;
344+
// bolt_optimize(&llvm_lib, &llvm_profile, env)
345+
// .context("Could not optimize LLVM with BOLT")?;
346346

347347
Some(llvm_profile)
348348
} else {
@@ -362,8 +362,8 @@ fn execute_pipeline(
362362
print_free_disk_space()?;
363363

364364
// Now optimize the library with BOLT.
365-
bolt_optimize(&rustc_lib, &rustc_profile, env)
366-
.context("Could not optimize rustc with BOLT")?;
365+
// bolt_optimize(&rustc_lib, &rustc_profile, env)
366+
// .context("Could not optimize rustc with BOLT")?;
367367

368368
// LLVM is not being cleared here. Either we built it and we want to use the BOLT-optimized LLVM, or we
369369
// didn't build it, so we don't want to remove it.

0 commit comments

Comments
 (0)