diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2021-09-27 07:11:41 -0500 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2021-09-27 07:14:19 -0500 |
commit | 1b242dccffc6bedcb99bd2626807f0286040491d (patch) | |
tree | 4da4b4172116d8838519989adfa81fdb9317e358 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | e158b5634aa67ea3039a62c3d8bda79b77b3b21c (diff) | |
download | llvm-1b242dccffc6bedcb99bd2626807f0286040491d.zip llvm-1b242dccffc6bedcb99bd2626807f0286040491d.tar.gz llvm-1b242dccffc6bedcb99bd2626807f0286040491d.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions