[all-commits] [llvm/llvm-project] 54b45a: [libomptarget]Add a trap for external omptarget fr...

Ye Luo via All-commits all-commits at lists.llvm.org
Sat Jun 18 19:10:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54b45afb599ab81355170f00f9ffe41a88a2cea5
      https://github.com/llvm/llvm-project/commit/54b45afb599ab81355170f00f9ffe41a88a2cea5
  Author: Ye Luo <yeluo at anl.gov>
  Date:   2022-06-18 (Sat, 18 Jun 2022)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt
    M openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake

  Log Message:
  -----------
  [libomptarget]Add a trap for external omptarget from LLVM

Old LLVM installation may expose its internal omptarget CMake target when being used by find_package(LLVM) and caused issues in the CMake of libomptarget that is being built. Trap the issue early.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list