[all-commits] [llvm/llvm-project] fc6f15: [lldb/CMake] Only auto-enable Python when SWIG is ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jan 7 21:58:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fc6f15d4d2c4a051c8e31fe4de0bfaf9d3535f6e
      https://github.com/llvm/llvm-project/commit/fc6f15d4d2c4a051c8e31fe4de0bfaf9d3535f6e
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M lldb/cmake/modules/FindPythonInterpAndLibs.cmake
    M lldb/scripts/CMakeLists.txt

  Log Message:
  -----------
  [lldb/CMake] Only auto-enable Python when SWIG is found

As correctly pointed out by Martin on the mailing list, Python should
only be auto-enabled if SWIG is found as well. This moves the logic of
finding SWIG into FindPythonInterpAndLibs to make that possible.

To make diagnosing easier I've included a status message to convey why
Python support is disabled.




More information about the All-commits mailing list