[llvm] [offload] - Fix issue with standalone debug offload build (PR #104647)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 18:48:25 PDT 2024
estewart08 wrote:
For `libomptarget.so` the plugin archives are linked in which have a dependency on PluginCommon and by design the extra archives. add_llvm_library does add `libLLVM.so` in the cmake module when `LLVM_LINK_LLVM_DYLIB=ON` and the module will also ignore w/e LINK_COMPONENTS you pass in. By adding those extra archives for jit targets like AMDGCN* then we bring in their transitive dependencies as well and then get the conflict with LLVM.so. This specific error had to do with libLLVMipo.a.
https://github.com/llvm/llvm-project/pull/104647
More information about the llvm-commits
mailing list