This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomptarget] amdgpu plugin adds runpath for dependencies
ClosedPublic

Authored by ye-luo on Dec 6 2021, 3:55 PM.

Details

Summary

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

Diff Detail

Event Timeline

ye-luo created this revision.Dec 6 2021, 3:55 PM
ye-luo requested review of this revision.Dec 6 2021, 3:55 PM
Herald added a project: Restricted Project. · View Herald Transcript
ye-luo edited the summary of this revision. (Show Details)Dec 6 2021, 3:57 PM
ye-luo added a reviewer: JonChesterfield.
JonChesterfield accepted this revision.Dec 6 2021, 4:01 PM

This presumably breaks using dlopen from next to the plugin in favour of unbreaking using the rocr cmake found. I think that's a net win.

This revision is now accepted and ready to land.Dec 6 2021, 4:01 PM