Re: [tup] Tup with Linux kernel modules

From: Anatol Pomozov
Date: Wed Jan 26 2011 - 15:06:29 EST


On Wed, Jan 26, 2011 at 11:59 AM, mcgrof <mcgrof@xxxxxxxxx> wrote:
> Just curious if anyone has used tup to build the Linux kernel.
>
> http://gittup.org/tup/make_vs_tup.html

Check gittup http://gittup.org/gittup/

This is a Gentoo-like distributive that uses Tup tool. The distro
includes kernel/gcc/glib/zlib/binutils/ncurses/openssh/openssl/mplayer/...
and some other projects.

> Looks sexy.

And it is *very* fast for incremental builds. Just a short snippet
from the gittup page:

[marf@captainfalcon gittup]$ vi nethack/src/spell.c
[marf@captainfalcon gittup]$ vi busybox/coreutils/ls.c
[marf@captainfalcon gittup]$ time tup upd -j2
Executing Commands
[ 0/9 ] busybox/coreutils/CC ls.c
[ 1/9 ] nethack/CC src/spell.c
[ 2/9 ] busybox/coreutils/LD built-in.o
[ 3/9 ] busybox/LD busybox
[ 4/9 ] nethack/LD nethack
[ 5/9 ] initrd/bin/CP busybox
[ 6/9 ] initrd/bin/CP nethack
[ 7/9 ] initrd/MKINITRD
[ 8/9 ] initrd/GZIP initrd
[ 9/9 ]

real 0m1.571s
user 0m1.888s
sys 0m0.269s

Rebuilding whole system in 1.5 sec, isn't it cool?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/