llvm-c166/offload/libomptarget
Joseph Huber cae2f656a8
[Offload] Add rpath to LLVM libs if dynamically linked (#215557)
Summary:
The offload/ library is different from every other LLVM runtime in that
it links the LLVM libraries themselves. The issue here is that in the
normal configuration, `libomptarget.so` goes in `lib/<triple>` while the
LLVM libs it depends on goes in `lib/`. If the LLVM libraries are
statically linked, there is no problem. However, we need to make sure
these point to the right place transitively when built in a shared
configuration. This solves the edge from `libomptarget -> LLVM`. The
edge from `user app -> libomptarget` should be solved by
`-frtlib-add-rpath`.

Should ideally fix the LLVM half of
https://github.com/llvm/llvm-project/pull/215532
2026-08-26 07:46:13 -05:00
..
KernelLanguage [offload] Split strictness for threads and blocks (#211400) 2026-08-19 23:31:10 -07:00
OpenMP [Offload][OMPT][NFCI] Call ompt_libomp_connect instead of dlopen libomp (#214556) 2026-08-08 21:56:32 +02:00
CMakeLists.txt [Offload] Add rpath to LLVM libs if dynamically linked (#215557) 2026-08-26 07:46:13 -05:00
device.cpp [offload] Split strictness for threads and blocks (#211400) 2026-08-19 23:31:10 -07:00
DeviceImage.cpp [offload] Fix DeviceImage to handle OffloadBinary::create returning vector (#180003) 2026-02-05 12:41:03 -06:00
exports
interface.cpp [Offload][OpenMP] Skip RPC callback registration when plugin has no devices (#211447) 2026-07-23 02:30:22 +00:00
LegacyAPI.cpp
OffloadRTL.cpp
omptarget.cpp [offload] Split strictness for threads and blocks (#211400) 2026-08-19 23:31:10 -07:00
PluginManager.cpp
private.h