We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b99b5e9 + 183ff08 commit b69ca96Copy full SHA for b69ca96
llvm/runtimes/CMakeLists.txt
@@ -510,6 +510,13 @@ if(build_runtimes)
510
endif()
511
512
# TODO: We need to consider passing it as '-DRUNTIMES_x86_64_LLVM_ENABLE_RUNTIMES'.
513
+ if("libclc" IN_LIST LLVM_ENABLE_RUNTIMES)
514
+ foreach(dep clang llvm-as llvm-link opt)
515
+ if(TARGET ${dep})
516
+ list(APPEND extra_deps ${dep})
517
+ endif()
518
+ endforeach()
519
520
if("openmp" IN_LIST LLVM_ENABLE_RUNTIMES OR "offload" IN_LIST LLVM_ENABLE_RUNTIMES)
521
if (${LLVM_TOOL_FLANG_BUILD})
522
message(STATUS "Configuring build of omp_lib.mod and omp_lib_kinds.mod via flang")
0 commit comments