[pacman-dev] Incremental builds

Allan McRae allan at archlinux.org
Wed Jul 15 05:14:19 UTC 2015


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?

> 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


More information about the pacman-dev mailing list