Skip to content
  • Joachim Protze's avatar
    [libomptarget][amdcgn] Add build dependency for llvm-link and opt · 4bb36df1
    Joachim Protze authored
    D107156 and D107320 are not sufficient when OpenMP is built as llvm runtime
    (LLVM_ENABLE_RUNTIMES=openmp) because dependencies only work within the same
    cmake instance.
    
    We could limit the dependency to cases where libomptarget/plugins are really
    built. But compared to the whole llvm project, building openmp runtime is
    negligible and postponing the build of OpenMP runtime after the dependencies
    are ready seems reasonable.
    
    The direct dependency introduced in D107156 and D107320 is necessary for the
    case where OpenMP is built as llvm project (LLVM_ENABLE_PROJECTS=openmp).
    
    Differential Revision: https://reviews.llvm.org/D108404
    4bb36df1
Loading