[Openmp-commits] [PATCH] D110251: [OpenMP][CMake] Use in-project clang as CUDA->IR compiler for new DeviceRTL.
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sat Sep 25 11:43:48 PDT 2021
tianshilei1992 added inline comments.
================
Comment at: openmp/libomptarget/DeviceRTL/CMakeLists.txt:41
set(cuda_compiler ${LIBOMPTARGET_NVPTX_CUDA_COMPILER})
+elseif (LLVM_TOOL_CLANG_BUILD AND NOT CMAKE_CROSSCOMPILING)
+ # Compile the deviceRTL with the clang that is built in the project.
----------------
`LLVM_TOOL_CLANG_BUILD` seems already obsolete. I searched the whole LLVM project but didn't find where it is defined. The only two places it is still being used is in polly and libomptarget.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110251/new/
https://reviews.llvm.org/D110251
More information about the Openmp-commits
mailing list