Skip to content

Commit f889c13

Browse files
committed
Disable BOLT
1 parent bc4376f commit f889c13

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
@@ -156,8 +156,6 @@ fn create_environment(args: Args) -> anyhow::Result<(Environment, Vec<String>)>
156156
let target_triple =
157157
std::env::var("PGO_HOST").expect("PGO_HOST environment variable missing");
158158

159-
let is_aarch64 = target_triple.starts_with("aarch64");
160-
161159
let checkout_dir = Utf8PathBuf::from("/checkout");
162160
let env = EnvironmentBuilder::default()
163161
.host_tuple(target_triple)
@@ -168,7 +166,7 @@ fn create_environment(args: Args) -> anyhow::Result<(Environment, Vec<String>)>
168166
.build_dir(checkout_dir.join("obj"))
169167
.shared_llvm(true)
170168
// FIXME: Enable bolt for aarch64 once it's fixed upstream. Broken as of December 2024.
171-
.use_bolt(!is_aarch64)
169+
.use_bolt(false)
172170
.skipped_tests(vec![])
173171
.run_tests(true)
174172
.fast_try_build(is_fast_try_build)

0 commit comments

Comments
 (0)