[libomptarget][nfc] Add hook to easily disable building amdgcn bclib
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Tue, 11 May 2021 16:23:08 +0000 (17:23 +0100)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Tue, 11 May 2021 16:23:09 +0000 (17:23 +0100)
commit72995a4bdf7d95887883ccfa04567b723f2b342a
treec74d4cfe90606d1eebeb78bda3cf6ac748ba6085
parentb20e150c9be16f69c73f4cd2986053d13d0f376a
[libomptarget][nfc] Add hook to easily disable building amdgcn bclib

[libomptarget][nfc] Add hook to easily disable building amdgcn bclib

This is useful when building LLVM with a toolchain that can't emit code
for amdgcn, e.g. because it overrides the include search path with headers
from another architecture, or the clang compiler is missing builtins.

Reviewed By: tianshilei1992

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