[lldb-dev] [Bug 16610] New: LLDB Linux CMake build requires Python >= 2.7

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 12 12:05:50 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16610

            Bug ID: 16610
           Summary: LLDB Linux CMake build requires Python >= 2.7
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: daniel.malea at intel.com
    Classification: Unclassified

I tried to build LLDB with CMake (using the Makefile generator) on a system
with Python 2.6 installed, and noticed build problems because the "2.7" version
number is hard-coded in a few CMake files:


./CMakeLists.txt
82:include_directories(/usr/include/python2.7)

./docs/CMakeLists.txt
38:      WORKING_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}/../../../lib/python2.7/site-packages

./source/CMakeLists.txt
140:  python2.7


There is probably a better way to pull in the dependency with something like:

find_package(PythonInterp REQUIRED)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130712/fa68e7a6/attachment.html>


More information about the lldb-dev mailing list