Build system patch

Dridi Boukelmoune dridi at varni.sh
Tue Sep 8 11:05:59 CEST 2015


Hi Guillaume,

On Tue, Sep 8, 2015 at 9:52 AM, Guillaume Quintard
<guillaume at varnish-software.com> wrote:
> Hi all,
>
> Here's a big patch for the (autotools) build system. It has been one of my
> pet peeves, so I took some time during evenings to make it non-recursive.
> I'm not sure everybody will be okay with it, but my OCD compelled me to try
> :-)

This is a topic that actually came up during the VDD last week, nice timing.

> One big change is that you don't use "make -C subdir", as there is only one
> Makefile now, you have to run it from the top directory. The counterpart is

I don't really get this one, I've always found easier to just work
from the top, builds are already quite fast.

> that it's very easy to define meta-targets without shooting ourselves in the
> foot.
>
> I tested it as best as I could, with -j1, -j32, install, dist,
> distcheckyieldsconsistent results AFAICT. Out-of-tree-build works too. I
> also built "all" with bmake, and it seemed to work.

I haven't tested it yet, but out-of-tree builds are definitely
something I've been looking for! Did you try to build the docs? I'm
asking because you didn't mention it.

> Cheers.
>
> --
> Guillaume Quintard

@Everyone
Guillaume's patch made me also realize that the tools are built with
sources from libvarnish instead of linking to libvarnish, is there a
reason for that?

Cheers,
Dridi



More information about the varnish-dev mailing list