Skip to content

Commit e9ef6c0

Browse files
committed
last try
1 parent 139aeed commit e9ef6c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bootstrap/src/core/build_steps/compile.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2298,7 +2298,11 @@ impl Step for Assemble {
22982298
}
22992299
}
23002300

2301-
if builder.config.llvm_offload && !builder.config.dry_run() {
2301+
if builder.config.llvm_offload
2302+
&& !builder.config.dry_run()
2303+
&& !builder.config.llvm_profile_generate
2304+
&& builder.config.llvm_profile_use.is_none()
2305+
{
23022306
debug!("`llvm_offload` requested");
23032307
let offload_install = builder.ensure(llvm::OmpOffload { target: build_compiler.host });
23042308
if let Some(_llvm_config) = builder.llvm_config(builder.config.host_target) {

0 commit comments

Comments
 (0)