Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b77590c

Browse files
committedMar 17, 2025
Use llvm_runtimes for compiler-rt
1 parent 8279176 commit b77590c

File tree

1 file changed

+4
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+4
-1
lines changed
 

‎src/bootstrap/src/core/build_steps/llvm.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,6 @@ impl Step for Llvm {
479479

480480
if helpers::forcing_clang_based_tests() {
481481
enabled_llvm_projects.push("clang");
482-
enabled_llvm_projects.push("compiler-rt");
483482
}
484483

485484
if builder.config.llvm_polly {
@@ -502,6 +501,10 @@ impl Step for Llvm {
502501

503502
let mut enabled_llvm_runtimes = Vec::new();
504503

504+
if helpers::forcing_clang_based_tests() {
505+
enabled_llvm_runtimes.push("compiler-rt");
506+
}
507+
505508
if builder.config.llvm_offload {
506509
enabled_llvm_runtimes.push("offload");
507510
//FIXME(ZuseZ4): LLVM intends to drop the offload dependency on openmp.

0 commit comments

Comments
 (0)
Failed to load comments.