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