[libomptarget] Add device RTL to regression test dependencies.
authorMichael Kruse <llvm-project@meinersbur.de>
Thu, 7 Apr 2022 00:20:07 +0000 (19:20 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Thu, 7 Apr 2022 01:01:47 +0000 (20:01 -0500)
commit7fa7b0cbd8f8d43c2237b75423cd25e74edde820
tree7a71e23346f35e68078c8a27c55bad17a46bdd57
parent7ac2e30fe1cd00eb41a9ce2b5880d4c779c85b80
[libomptarget] Add device RTL to regression test dependencies.

In a clean build directory, `check-openmp` or `check-libomptarget` will fail because of missing device RTL .bc files. Ensure that the new targets new custom targets `omptarget.devicertl.nvptx` and `omptarget.devicertl.amdgpu` (corresponding to the plugin rtl targets `omptarget.rtl.cuda`, respectively `omptarget.rlt.amdgpu` ) are dependencies of the regression tests.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D123177
openmp/libomptarget/DeviceRTL/CMakeLists.txt
openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
openmp/libomptarget/plugins/cuda/CMakeLists.txt