[PATCH] D101265: [OpenMP][CMake] Use in-project clang as CUDA->IR compiler.
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 25 17:53:53 PDT 2021
Meinersbur added a comment.
In D101265#2715632 <https://reviews.llvm.org/D101265#2715632>, @tianshilei1992 wrote:
> I didn't get in what scenario we need this patch. Could you please expatiate it?
Not having to provide another sufficiently recent clang/llvm-link binary to pass with `-DLIBOMPTARGET_NVPTX_CUDA_COMPILER`/`-DLIBOMPTARGET_NVPTX_BC_LINKER`.
D95466 <https://reviews.llvm.org/D95466> seems to have removed the checks for a working Clang at configure-time. If it was still there, this patch would have disabled them since the Clang in the repository with OpenMP would be the most recent and known to support all required features. This also makes it ideal default if available.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101265/new/
https://reviews.llvm.org/D101265
More information about the llvm-commits
mailing list