File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -462,11 +462,15 @@ impl Step for Llvm {
462462 enabled_llvm_runtimes. push ( "openmp" ) ;
463463 enabled_llvm_runtimes. push ( "compiler-rt" ) ;
464464
465- let runtime_targets = vec ! [ "default" , "amdgcn-amd-amdhsa" , "nvptx64-nvidia-cuda" ] ;
466- cfg. define ( "LLVM_RUNTIME_TARGETS" , runtime_targets. join ( ";" ) ) ;
465+ // -DRUNTIMES_CMAKE_ARGS="-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;nvptx;
466+ cfg. define ( "RUNTIMES_CMAKE_ARGS" , "-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;nvptx" ) ;
467+ //cfg.define("LLVM_TARGETS_TO_BUILD", "host;AMDGPU;NVPTX");
467468
468- cfg. define ( "RUNTIMES_nvptx64-nvidia-cuda_LLVM_ENABLE_RUNTIMES" , "openmp" ) ;
469- cfg. define ( "RUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES" , "openmp" ) ;
469+ //let runtime_targets = vec!["default", "amdgcn-amd-amdhsa", "nvptx64-nvidia-cuda"];
470+ //cfg.define("LLVM_RUNTIME_TARGETS", runtime_targets.join(";"));
471+
472+ //cfg.define("RUNTIMES_nvptx64-nvidia-cuda_LLVM_ENABLE_RUNTIMES", "openmp");
473+ //cfg.define("RUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES", "openmp");
470474 }
471475
472476 if !enabled_llvm_projects. is_empty ( ) {
You can’t perform that action at this time.
0 commit comments