[OpenMP][amdgcn] Don't use in-tree clang if not available.
authorMichael Kruse <llvm-project@meinersbur.de>
Tue, 24 Aug 2021 17:38:00 +0000 (12:38 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Tue, 24 Aug 2021 17:50:49 +0000 (12:50 -0500)
commit1275ee3041049c69e9aaa7ac76af83a70340e054
tree7dfeadab0bf6569d719394ab2f9f6d58428638e1
parent2d8a2a91b195420c48763217436698997147519d
[OpenMP][amdgcn] Don't use in-tree clang if not available.

The use of `$<TARGET_FILE:clang>` was adapted too broadly from D101265.

Fixes llvm.org/PR51579

Also see discussion in D108534.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D108640
openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt