[opensuse-factory] Python support in LLDB
Hi guys, I'm trying to use the neovim plugin lldb.nvim that provides a good integration between lldb and neovim. However, it needs python support in lldb that was dropped in openSUSE [1]. Is there any reasonable explanation why this was dropped? ---------- [1] https://build.opensuse.org/request/show/369633 Regards, Ronan Arraes -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12 May 18:31, Ronan Arraes Jardim Chagas wrote:
Hi guys,
I'm trying to use the neovim plugin lldb.nvim that provides a good integration between lldb and neovim. However, it needs python support in lldb that was dropped in openSUSE [1]. Is there any reasonable explanation why this was dropped?
lldb no longer compiles standalone hence needs to build at the same time as llvm, this means I have to add python-devel BuildRequires to llvm which I tried in the past but it creates too many build-loops (due to Mesa->llvm->python->Mesa chain.) Regards, ismail
Em Sex, 2016-05-13 às 09:57 +0300, İsmail Dönmez escreveu:
lldb no longer compiles standalone hence needs to build at the same time as llvm, this means I have to add python-devel BuildRequires to llvm which I tried in the past but it creates too many build-loops (due to Mesa->llvm->python->Mesa chain.)
Hi Ismail, Thanks for the answer. However, it seems that Fedora still builds lldb separately from llvm [1]. Thus, they can ship the `python-lldb` package. Is there any difference between Fedora and openSUSE so that we need to build lldb together with llvm? ---------- [1] http://pkgs.fedoraproject.org/cgit/rpms/lldb.git/tree/lldb.spec Regards, Ronan Arraes -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Ismail, It seems that Fedora applied a patch to fix out-of-tree builds [1]. I'm trying to build lldb in my home repo. If it can be built using this patch with python support enable, do you think we can add this modification to openSUSE Factory? Regards, Ronan Arraes ---------- [1] http://pkgs.fedoraproject.org/cgit/rpms/lldb.git/tree/D15067.id41365.diff -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 13 May 14:27, Ronan Arraes Jardim Chagas wrote:
Hi Ismail,
It seems that Fedora applied a patch to fix out-of-tree builds [1]. I'm trying to build lldb in my home repo. If it can be built using this patch with python support enable, do you think we can add this modification to openSUSE Factory?
Quite ugly patch but yes, if it works I'll sure accept it. Thanks for working on this! Regards, ismail
Regards, Ronan Arraes
---------- [1] http://pkgs.fedoraproject.org/cgit/rpms/lldb.git/tree/D15067.id41365.diff
Hi Ismail, Em Sex, 2016-05-13 às 20:40 +0300, İsmail Dönmez escreveu:
Quite ugly patch but yes, if it works I'll sure accept it. Thanks for working on this!
I finally could build LLDB outside the tree [1]. I needed to apply two patches to fix all problems. One of them, that ugly patch that I mentioned in my last e-mail, seems to be already accepted by upstream. Thus, we can drop it in the next LLVM version. I did some tests and everything seems to be fine. I even tested the Python bindings using the lldb.nvim plugin. Can you please take a look at the package in [1]? After your feedback, I'll branch the LLVM package, add the files, and then commit the changes to devel:tools:compilers and openSUSE Factory. ---------- [1] https://build.opensuse.org/package/show/home:Ronis_BR/lldb Regards, Ronan Arraes -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
İsmail Dönmez
-
Ronan Arraes Jardim Chagas