[Mlir-commits] [mlir] [mlir] Don't set RPATH for libMLIR (PR #121180)
Carlo Cabrera
llvmlistbot at llvm.org
Sun Dec 29 12:24:17 PST 2024
https://github.com/carlocab commented:
> ah shoot it `libMLIR` actually does have a runtime dep on `libLLVM`
>
> ```
> /Users/mlevental/dev_projects/eudsl/llvm-install/lib/libMLIR.dylib:
> @rpath/libMLIR.dylib (compatibility version 0.0.0, current version 0.0.0)
> @rpath/libLLVM.dylib (compatibility version 1.0.0, current version 20.0.0)
> /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1800.105.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)
> ```
Yes, this will break installations configured with `LLVM_LINK_LLVM_DYLIB` on macOS.
Is there any reason why you can't invoke `install_name_tool` for yourself if you want to package `libMLIR` into a wheel?
https://github.com/llvm/llvm-project/pull/121180
More information about the Mlir-commits
mailing list