Skip to content

Commit 6fa2fc4

Browse files
committed
Disable BOLT to make try builds faster and change perf
1 parent 7cfd7d3 commit 6fa2fc4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ fn create_environment(args: Args) -> anyhow::Result<(Environment, Vec<String>)>
174174
let target_triple =
175175
std::env::var("PGO_HOST").expect("PGO_HOST environment variable missing");
176176

177-
let is_aarch64 = target_triple.starts_with("aarch64");
178-
179177
let checkout_dir = Utf8PathBuf::from("/checkout");
180178
let env = EnvironmentBuilder::default()
181179
.host_tuple(target_triple)
@@ -186,7 +184,7 @@ fn create_environment(args: Args) -> anyhow::Result<(Environment, Vec<String>)>
186184
.build_dir(checkout_dir.join("obj").join("build"))
187185
.shared_llvm(true)
188186
// FIXME: Enable bolt for aarch64 once it's fixed upstream. Broken as of December 2024.
189-
.use_bolt(!is_aarch64)
187+
.use_bolt(false)
190188
.skipped_tests(vec![])
191189
.run_tests(true)
192190
.fast_try_build(is_fast_try_build)

0 commit comments

Comments
 (0)