[OpenMP][libomptarget] amdgpu plugin adds runpath for dependencies
authorYe Luo <yeluo@anl.gov>
Tue, 7 Dec 2021 00:19:08 +0000 (18:19 -0600)
committerYe Luo <yeluo@anl.gov>
Tue, 7 Dec 2021 00:19:18 +0000 (18:19 -0600)
commit21a51cebf1669293620f62f719ed02eb522de972
tree94bee9f977d6e5e66df091074a564978ce611259
parentcaea440a11e47bf86b0e43feb28a9287e4fbe3f8
[OpenMP][libomptarget] amdgpu plugin adds runpath for dependencies

amdgpu plugin depends on libhsa-runtime64 library. Add runpath in case it is not on the LD_LIBRARY_PATH.

Reviewed By: JonChesterfield

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