[pacman-dev] Incremental builds

Yomi Ogunwumi abyomi0 at gmail.com
Fri Jul 17 20:18:31 UTC 2015


On Wed, Jul 15, 2015 at 1:14 AM, Allan McRae <allan at archlinux.org> wrote:

> On 15/07/15 15:03, Yomi Ogunwumi wrote:
> > Hello. I have several software projects I end up building frequently. For
> > quite awhile I had an alias, mkpkg that would do makepkg -sfiC. But then
> I
> > came across a blog post about the pacman/makepkg 4.2.0 release supporting
> > incremental builds. So I've since changed that alias to makepkg -sife.
>
> Why -f -e?
>
I had been following what I'd come across on the flyspray ticket I saw
related to this, so I added -e to test.
I can't seem to remember why I added -f to the alias, but I've removed it
now.

>
> > Eventually I realized that maybe it was enabled automatically.Though it
> > would seem that it still isn't building incrementally. To confirm that I
> > built mpv, once from the AUR and again directly from github. (I waited
> for
> > some commits to be made to the master branch in both cases.) Building mpv
> > from the AUR seemed to start from the beginning despite no messages being
> > printed about the $srcdir being removed. Building directly from github
> was
> > quicker (after being built once in both cases).
> >
>
> I just ran "makepkg" on my pacman-git build where nothing had changed in
> the src/pacman directory:
>
> Making all in src/pacman
> Making all in po
> make[3]: Nothing to be done for 'all'.
> make[3]: Nothing to be done for 'all-am'.
>
> So it is working for me.
>
> Allan
>



-- 
*Yomi*


More information about the pacman-dev mailing list