[Mlir-commits] [mlir] [mlir] Don't set RPATH for libMLIR (PR	#121180)
    Maksim Levental 
    llvmlistbot at llvm.org
       
    Sun Dec 29 09:19:59 PST 2024
    
    
  
makslevental wrote:
> Where is the workaround for?
The workaround is for moving these libs from out of the `/lib` - libMLIR should expect libLLVM in the current current dir and libLLVM has no dependencies on other libs (outside of libc) so it also shouldn't be expecting anything in `../lib`
> The runtime dep there is, is this due to LLVM dialect/conversions or what? (Basically, do you know if it's real or we are just linking in more than we should there and could refactor build rule)
Ya the dep is real probably because of conversions to llvmir but the problem is also real: you cannot move libMLIR even if you move libLLVM too because of the relative rpath
https://github.com/llvm/llvm-project/pull/121180
    
    
More information about the Mlir-commits
mailing list