[Lldb-commits] [PATCH] D69931: Add cmake variables to specify a python framework to ship with lldb
Shoaib Meenai via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 7 18:27:50 PST 2019
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
More information about the lldb-commits
mailing list