[all-commits] [llvm/llvm-project] 1b242d: [OpenMP][CMake] Use in-project clang as CUDA->IR c...

Michael Kruse via All-commits all-commits at lists.llvm.org
Mon Sep 27 05:15:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b242dccffc6bedcb99bd2626807f0286040491d
      https://github.com/llvm/llvm-project/commit/1b242dccffc6bedcb99bd2626807f0286040491d
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP][CMake] Use in-project clang as CUDA->IR compiler for new DeviceRTL.

Use the in-project clang, llvm-link and opt if available and unless
CMake cache variables specify to use a different compiler. This applies
D101265 to the new DeviceRTL's CMakeLists.txt which was copied before
D101265 was applied.

Fixes the openmp-offloading-cuda-runtime builder which was failing
since D110006.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list