[Openmp-commits] [PATCH] D110251: [OpenMP][CMake] Use in-project clang as CUDA->IR compiler for new DeviceRTL.

Michael Kruse via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Sep 22 07:07:29 PDT 2021


Meinersbur created this revision.
Meinersbur added reviewers: jdoerfert, jhuber6, tianshilei1992, ye-luo.
Meinersbur added a project: OpenMP.
Herald added subscribers: guansong, yaxunl, mgorny.
Meinersbur requested review of this revision.
Herald added a subscriber: sstefan1.

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 <https://reviews.llvm.org/D101265> to the new DeviceRTL's CMakeLists.txt which was copied before D101265 <https://reviews.llvm.org/D101265> was applied.

Fixes the openmp-offloading-cuda-runtime <http://meinersbur.de:8011/#/builders/1> builder failing since D110006 <https://reviews.llvm.org/D110006>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110251

Files:
  openmp/libomptarget/DeviceRTL/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110251.374211.patch
Type: text/x-patch
Size: 4884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210922/7bac4030/attachment-0001.bin>


More information about the Openmp-commits mailing list