@@ -4,7 +4,7 @@ use clap::Parser;
4
4
use log:: LevelFilter ;
5
5
use utils:: io;
6
6
7
- use crate :: bolt:: { bolt_optimize , with_bolt_instrumented} ;
7
+ use crate :: bolt:: with_bolt_instrumented;
8
8
use crate :: environment:: { Environment , EnvironmentBuilder } ;
9
9
use crate :: exec:: { Bootstrap , cmd} ;
10
10
use crate :: tests:: run_tests;
@@ -341,8 +341,8 @@ fn execute_pipeline(
341
341
// the final dist build. However, when BOLT optimizes an artifact, it does so *in-place*,
342
342
// therefore it will actually optimize all the hard links, which means that the final
343
343
// 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")?;
346
346
347
347
Some ( llvm_profile)
348
348
} else {
@@ -362,8 +362,8 @@ fn execute_pipeline(
362
362
print_free_disk_space ( ) ?;
363
363
364
364
// 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")?;
367
367
368
368
// LLVM is not being cleared here. Either we built it and we want to use the BOLT-optimized LLVM, or we
369
369
// didn't build it, so we don't want to remove it.
0 commit comments