LLDB supports Python 3 now.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/CMakeLists.txt | ||
---|---|---|
645 ↗ | (On Diff #208790) | Wouldn't the correct thing to do be removing the list altogether? |
llvm/CMakeLists.txt | ||
---|---|---|
645 ↗ | (On Diff #208790) | Apparently not; if I do that CMake still finds Python 2.7.
|
llvm/CMakeLists.txt | ||
---|---|---|
645 ↗ | (On Diff #208790) | In that case, you should specify at least 3.7 as well. Maybe 3.5 if it works. |
llvm/CMakeLists.txt | ||
---|---|---|
645 ↗ | (On Diff #208790) | OK, done. (I don't have 3.5 to test but have no reason to assume it won't work) |
Hey guys, I get cmake error at configuration time " Found incompatible python interpreter version and python libraries version". I have both python 2.7 and python 3.6, cmake now finds python interpreter version 3.6 and python libs 2.7, hence the incompatibility. How I can rectify this?
I reverse the list as 2.7 3.5 3.6 3.7 it fixes the issue, but I don't know whether it is correct or not.
pree-jackie: My guess is that you have python2.7-dev installed but not python3.6-dev -- does it work if you install that one?