[libomptarget] Build amdgpu plugin by default
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Mon, 15 Mar 2021 20:12:01 +0000 (20:12 +0000)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Mon, 15 Mar 2021 20:12:01 +0000 (20:12 +0000)
commit7da76aaaf41e963a1ec3b108f2bfefd88f42858b
treedb4f293eee19b91c71b7aa8bbc09fab6555a2c1f
parent9bcf0eff99a01094c685ff375a42e3f5a9166094
[libomptarget] Build amdgpu plugin by default

[libomptarget] Build amdgpu plugin by default

This will build the amdgpu plugin if cmake is able to find the hsa
runtime library, which will be the case if rocm is installed or if
the hsa library has been installed somewhere cmake looks.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D98654
openmp/libomptarget/plugins/CMakeLists.txt