labath added inline comments.

================
Comment at: lldb/cmake/modules/LLDBConfig.cmake:203-204
+  if (NOT CMAKE_CROSSCOMPILING)
+    # Manually split PYTHON_VERSION_STRING because find_python_libs_windows
+    # doesn't set PYTHON_VERSION_MAJOR or PYTHON_VERSION_MINOR.
+    string(REPLACE "." ";" python_version_list ${PYTHON_VERSION_STRING})
----------------
JDevlieghere wrote:
> labath wrote:
> > If this is the only reason, then maybe we could fix 
> > find_python_libs_windows to set the relevant variables instead (?)
> FindPythonLibs only sets `PYTHONLIBS_VERSION_STRING`, so we'd still have that 
> to parse the major and minor version of that manually. It was a coin flip 
> between keeping the parsing together and updating `find_python_libs_windows`. 
> I'm happy to do either. 
Yea, I see what you mean. I think I'd go with changing 
`find_python_libs_windows` just to minimize the difference between the windows 
and non-windows branches of the python-finding code (and possible side-effects 
of those differences), but it's not a big deal either way...


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65230/new/

https://reviews.llvm.org/D65230



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to