The problematic combo is a debug python>=3.7 && swig<4.0.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Jonas, the notion that 3.7 is incompatible comes from ae7389116. Do you happen to remember what was the issue you ran into?
I find it unlikely that 3.7 is incompatible but 3.8 is ok, and I think you probably ran into https://github.com/swig/swig/issues/1321 (which I recently ran into as well).
I used Swig 3.0.12 + cherry-picked commit that fixes that bug (https://github.com/swig/swig/issues/1321) on Windows. It worked well with both Python 3.7 and 3.8.
The only issue I still have with Python 3.8 and later is importing liblldb.dll from a python script (https://llvm.org/pr46891) while running the test-suite.
That's very possible. I don't remember the details, but when I used 3.7 on Windows all the tests were failing. I asked someone (it might have been @compnerd or @stella.stamenova) who told me it was a known issue.
lldb/docs/resources/build.rst | ||
---|---|---|
81 | The rest of this page seems to be using LLDB rather than lldb. I have no preference as long as things are consistent. |
Yes, I also (independently) discovered this problem. I probably have notes somewhere with sources for details about the incompatibility. I believe I also brought it up on the lldb-dev list.
Yeah, that seems to be a fairly common problem. I'm gonna try to add some kind of a cmake warning about this.
lldb/docs/resources/build.rst | ||
---|---|---|
81 | sounds good. |
The rest of this page seems to be using LLDB rather than lldb. I have no preference as long as things are consistent.