[lldb-dev] [Bug 40668] New: `ninja` does not rebuild if sources change

via lldb-dev lldb-dev at lists.llvm.org
Fri Feb 8 13:25:02 PST 2019


            Bug ID: 40668
           Summary: `ninja` does not rebuild if sources change
           Product: lldb
           Version: unspecified
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: thelastmammoth at gmail.com
                CC: llvm-bugs at lists.llvm.org

I'm on OSX and follow the steps here: https://lldb.llvm.org/build.html

git clone https://github.com/llvm/llvm-project.git 
cd llvm-project 
mkdir build 
cd build
cmake ../llvm -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb' 
ninja lldb

this works, but then if I change sources [1], nothing is rebuilt after `ninja
lldb`, which completes almost immediately:

ninja lldb
[1/1] Python script sym-linking LLDB Python API

## note:
here's the change I was trying to make:
* trying to apply this patch https://stackoverflow.com/a/32724035/1426932 to
fix this bug

if i modify llvm-project/lldb/tools/debugserver/source/MacOSX/MachTask.mm
no recompilation happens; ditto with

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/20190208/cfed2d57/attachment.html>

More information about the lldb-dev mailing list