smeenai added a comment.

I agree on not getting into the business of installing Python ourselves, but 
there's also the rpath issue. The Windows case is different because you just 
put all your DLLs in the same directory (or some other directory in your PATH) 
and you're done. With macOS, you have to specify an rpath for liblldb to be 
able to find the Python framework. It'd be really nice to support adding 
additional rpaths in the build system itself (it could be a more generic 
mechanism; it doesn't have to be Python-specific). CMake does offer 
`CMAKE_INSTALL_RPATH`, but that applies to every single target. You could also 
use install_name_tool after building to modify the rpath, but that feels like a 
kludge.

How would people feel about a patch that just adds the ability to set 
additional rpaths on liblldb?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69931/new/

https://reviews.llvm.org/D69931



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to