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: [email protected]
          Reporter: [email protected]
    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.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to