Skip to content

Commit ed519d1

Browse files
committed
cleanup
1 parent 0b73ee5 commit ed519d1

File tree

1 file changed

+0
-23
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+0
-23
lines changed

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -455,29 +455,6 @@ impl Step for Llvm {
455455
enabled_llvm_runtimes.push("compiler-rt");
456456
}
457457

458-
// This is an experimental flag, which likely builds more than necessary.
459-
// We will optimize it when we get closer to releasing it on nightly.
460-
if builder.config.llvm_offload {
461-
//enabled_llvm_projects.push("lld");
462-
//enabled_llvm_runtimes.push("offload");
463-
//FIXME(ZuseZ4): LLVM intends to drop the offload dependency on openmp.
464-
//Remove this line once they achieved it.
465-
//enabled_llvm_runtimes.push("openmp");
466-
//enabled_llvm_runtimes.push("compiler-rt");
467-
468-
// -DRUNTIMES_CMAKE_ARGS="-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;nvptx;
469-
//cfg.define("RUNTIMES_CMAKE_ARGS", "-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;nvptx");
470-
//cfg.define("LLVM_TARGETS_TO_BUILD", "host;AMDGPU;NVPTX");
471-
472-
//let runtime_targets = vec!["default", "amdgcn-amd-amdhsa", "nvptx64-nvidia-cuda"];
473-
//cfg.define("LLVM_RUNTIME_TARGETS", runtime_targets.join(";"));
474-
475-
//cfg.define("LLVM_INCLUDE_TESTS", "OFF");
476-
//cfg.define("LLVM_BUILD_TESTS", "OFF");
477-
//cfg.define("RUNTIMES_nvptx64-nvidia-cuda_LLVM_ENABLE_RUNTIMES", "openmp");
478-
//cfg.define("RUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES", "openmp");
479-
}
480-
481458
if !enabled_llvm_projects.is_empty() {
482459
enabled_llvm_projects.sort();
483460
enabled_llvm_projects.dedup();

0 commit comments

Comments
 (0)