mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
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 |
||
|---|---|---|
| .. | ||
| KernelLanguage | ||
| OpenMP | ||
| CMakeLists.txt | ||
| device.cpp | ||
| DeviceImage.cpp | ||
| exports | ||
| interface.cpp | ||
| LegacyAPI.cpp | ||
| OffloadRTL.cpp | ||
| omptarget.cpp | ||
| PluginManager.cpp | ||
| private.h | ||