[all-commits] [llvm/llvm-project] 5ea1c3: [libomptarget][amdcgn] Only add opt/llvm-link depe...

Joachim via All-commits all-commits at lists.llvm.org
Mon Aug 30 08:33:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ea1c37118699f0ed1da17e0d8562011d0002edd
      https://github.com/llvm/llvm-project/commit/5ea1c37118699f0ed1da17e0d8562011d0002edd
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M llvm/runtimes/CMakeLists.txt
    M openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt

  Log Message:
  -----------
  [libomptarget][amdcgn] Only add opt/llvm-link dependency if TARGET is available

In some build configurations, the target we depend on is not available for declaring the build dependency.
We only need to declare the build dependency, if the build target is available in the same build.

Fixes the issue raised in https://reviews.llvm.org/D107156#2969862
This patch should go into release/13 together with D108404

Differential Revision: https://reviews.llvm.org/D108868




More information about the All-commits mailing list