[Libomptarget] Remove dependency on the DeviceRTL from the GPU plugins
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 2 Feb 2023 16:58:16 +0000 (10:58 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Mon, 13 Feb 2023 13:01:52 +0000 (07:01 -0600)
commit9f650ae779b4d7e033f5f17290aad50e935424d2
treec8516e00a2c9d79b6dfd6c22423a691da328af67
parent3c160d3051dc5d637bd35cfa673871338589ad8e
[Libomptarget] Remove dependency on the DeviceRTL from the GPU plugins

The GPU plugins have a dependency on the device libraries. Sometimes we
cannot build the device libraries because the user does not have a valid
`clang` to use or it was explicitly disabled. Currently this leads to a
transitive failure because we cannot meet this dependency. This patch
simply removes that dependency.

Fixes https://github.com/llvm/llvm-project/issues/60457

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D143196
openmp/libomptarget/plugins-nextgen/amdgpu/CMakeLists.txt
openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt
openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
openmp/libomptarget/plugins/cuda/CMakeLists.txt