Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: make an -9999 ebuild compile only if necessary
Date: Tue, 22 Dec 2009 18:14:18
Message-Id: 58965d8a0912221013g76c4a368q5a2237ea24153ff6@mail.gmail.com
In Reply to: [gentoo-user] Re: make an -9999 ebuild compile only if necessary by Nikos Chantziaras
1 On Tue, Dec 22, 2009 at 11:37 AM, Nikos Chantziaras <realnc@×××××.de> wrote:
2 > On 12/22/2009 07:21 PM, Helmut Jarausch wrote:
3 >>
4 >> Hi,
5 >>
6 >> I have ebuilds fetching the source code directly from a repository
7 >> (be it CVS,SVN,HG,GIT,...)
8 >> I'd like to modify the .ebuild to enter compilation only if something
9 >> has been updated.
10 >> Is this possible, has somebody else tried to do so?
11 >
12 > Given that portage relies on USE flags and version numbers to decide on
13 > whether a rebuild is necessary, no, it's not possible.
14 >
15 > But I'd be interested too if someone could think of some clever hack to
16 > accomplish this :)
17
18 Maybe just make the merge fail. So that way you could "emerge
19 @live-rebuild --keep-going" and it would only actually emerge things
20 that had changed.