[Lldb-commits] [PATCH] D64812: [CMake] Fail when Python interpreter doesn't match Python libraries version
Adrian McCarthy via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 16 16:12:36 PDT 2019
amccarth added a comment.
OK, the only way I was able to make this work was to remove all traces of Python 2.x from my machine. As long as the older Python existed on my machine CMake would find that one, regardless of which one was in my PATH or indicated by PYTHON_HOME_DIR. Of course, it required killing the cmake cache a couple times, too.
Interestingly, this suggests that I've been in this allegedly "incompatible" state for a while (Python 2.7 interpreter with Python 3.6 for everything else), and there were no obvious errors. I was able to build and test lldb, including all the Python-based tests. This makes me think this FATAL_ERROR message might not actually be necessary.
CHANGES SINCE LAST ACTION
More information about the lldb-commits