[lldb-dev] [Bug 19316] New: configure and cmake builds lack dependencies for swig python wrapper

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 2 17:43:19 PDT 2014


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

            Bug ID: 19316
           Summary: configure and cmake builds lack dependencies for swig
                    python wrapper
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

Sometime in the last month or so dependency handling for LLDBWrapPython.cpp
broke, causing failures unless doing a clean build.

I observed this with cmake on my builds, and the FreeBSD buildbot (which uses
configure) suggests it has the same issue.  (See
http://llvm-amd64.freebsd.your.org/b/builders/lldb-amd64-freebsd/builds/1988/steps/check-lldb.1/logs/stdio
for example.)

I'm not sure what broke this, or the best way to fix it just yet.  For now I
added explicit dependencies on each .i file:

--- a/scripts/CMakeLists.txt                                                    
+++ b/scripts/CMakeLists.txt                                                    
@@ -3,6 +3,55 @@ set(LLVM_NO_RTTI 1)                                            
 add_custom_command(                                                            
   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp                        
   DEPENDS ${LLDB_SOURCE_DIR}/scripts/lldb.swig                                 
+  DEPENDS Python/interface/SBAddress.i                                         
+  DEPENDS Python/interface/SBBlock.i                                           
+  DEPENDS Python/interface/SBBreakpoint.i                                      
+  DEPENDS Python/interface/SBBreakpointLocation.i                              
...

-- 
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/20140403/b2034c8c/attachment.html>


More information about the lldb-dev mailing list