Skip to content

Commit e0e6f62

Browse files
committed
wip
1 parent 2398bd6 commit e0e6f62

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,11 @@ impl Step for Llvm {
460460
//FIXME(ZuseZ4): LLVM intends to drop the offload dependency on openmp.
461461
//Remove this line once they achieved it.
462462
enabled_llvm_runtimes.push("openmp");
463+
enabled_llvm_runtimes.push("compiler-rt");
464+
465+
// FIXME(ZuseZ4): Upgrade, once the latter becomes it's own flag
466+
cfg.define("RUNTIMES_CMAKE_ARGS", "-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;nvptx");
467+
// -DRUNTIMES_CMAKE_ARGS="-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;nvptx"
463468
}
464469

465470
if !enabled_llvm_runtimes.is_empty() {

0 commit comments

Comments
 (0)