[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add option to generate dependency graph
From: |
Lynn Lin |
Subject: |
Re: add option to generate dependency graph |
Date: |
Sun, 22 Aug 2010 08:46:31 +0800 |
On Sun, Aug 22, 2010 at 3:15 AM, Luke Shumaker <address@hidden> wrote:
> On Fri, 2010-08-20 at 15:02 +0800, Lynn Lin wrote:
>> On Thu, 2010-08-19 at 23:45 -0400, Luke Shumaker wrote:
>> > Thank you for showing me graphviz, it's pretty neat!
>>
>> bitbake (http://cgit.openembedded.org/cgit.cgi/bitbake/) is a
>> make-alike build tool with the special focus of distributions and
>> packages for embedded Linux cross compilation,it provide -g option
>>
>> -g, --graphviz emit the dependency trees of the specified packages in
>> the dot syntax
>>
>> it's great!
>
> Thanks, I'll try it out!
if the -g option is done,I will be very happy with it:)
>> > The attached patch adds the ``-g, --graph'' options to make; it will
>> > spit out a graphviz file to stdout. (The patch is against the 3.82
>> > release)
>>
>> I test the patch,it's great although it has bug.
>
> What bug?
I compile cgit project with your patch
MM ui-tree.d
MM ui-tag.d
MM ui-summary.d
MM ui-stats.d
MM ui-ssdiff.d
MM ui-snapshot.d
MM ui-shared.d
MM ui-repolist.d
MM ui-refs.d
MM ui-plain.d
MM ui-patch.d
MM ui-log.d
MM ui-diff.d
MM ui-commit.d
MM ui-clone.d
MM ui-blob.d
MM ui-atom.d
MM shared.d
MM scan-tree.d
MM parsing.d
MM html.d
MM configfile.d
MM cmd.d
MM cgit.d
MM cache.d
CGIT_VERSION = v0.8.3.3-82-gaec9
digraph make11225 {
"ui-blob.d" [];
"ui-blob.d" -> "ui-blob.c";
"ui-blob.d" -> "ui-blob.c";
"ui-blob.d" -> "cgit.h";
"ui-blob.d" -> "git/git-compat-util.h";
"ui-blob.d" -> "git/compat/bswap.h";
"ui-blob.d" -> "git/cache.h";
"ui-blob.d" -> "git/git-compat-util.h";
"ui-blob.d" -> "git/strbuf.h";
"ui-blob.d" -> "git/hash.h";
"ui-blob.d" -> "git/advice.h";
...
obviously the "MM line" doesn't follow dot format
> ~ LukeShu
>
>
- add option to generate dependency graph, Lynn Lin, 2010/08/17
- add option to generate dependency graph, Luke Shumaker, 2010/08/18
- Re: add option to generate dependency graph, Lynn Lin, 2010/08/19
- Re: add option to generate dependency graph, Luke Shumaker, 2010/08/19
- Re: add option to generate dependency graph, Luke Shumaker, 2010/08/19
- Re: add option to generate dependency graph, Lynn Lin, 2010/08/20
- Message not available
- Re: add option to generate dependency graph,
Lynn Lin <=
- Re: add option to generate dependency graph, Luke Shumaker, 2010/08/21
- Re: add option to generate dependency graph, Lynn Lin, 2010/08/21