[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8913) Add meson build system to lmdb



Ignacio Casal Quinteiro wrote:
> FWIW any chance to reconsider having both build systems?

I have no desire to support multiple build systems. The Project does not =
support
any tools that we don't use ourselves.

The files you add significantly increase the line count, and don't even c=
ontain any comments.
In contrast, the current Makefile is mostly comments.

> with meson it is easy to build on windows. Plus I'd like you
> to see at these numbers:
>=20
> time make:
> real=C2=A0=C2=A0=C2=A0 0m5.629s
> user=C2=A0=C2=A0=C2=A0 0m5.197s
> sys=C2=A0=C2=A0=C2=A0 0m0.399s
>=20
> time meson build
> real=C2=A0=C2=A0=C2=A0 0m0.452s
> user=C2=A0=C2=A0=C2=A0 0m0.335s
> sys=C2=A0=C2=A0=C2=A0 0m0.131s
>=20
> time ninja -C build
> real=C2=A0=C2=A0=C2=A0 0m0.992s
> user=C2=A0=C2=A0=C2=A0 0m1.812s
> sys=C2=A0=C2=A0=C2=A0 0m0.362s
>=20
> You can see that configuring and building with meson is faster than jus=
t using make

On my system the majority of build time is in gcc itself. The proportion =
of time that
make itself uses is trivial. I would guess the only reason you're seeing =
a speedup is
because meson parallelizes the build. You would get the same effect using=
 "make -jXX".

>=20
> On Wed, Sep 5, 2018 at 6:31 PM Ignacio Casal Quinteiro <nacho.resa@gmai=
l.com <mailto:nacho.resa@gmail.com>> wrote:
>=20
>     yeah... knowing my previous tries with lmdb I did not have much hop=
e...
>=20
>     On Wed, Sep 5, 2018 at 6:21 PM Howard Chu <hyc@symas.com <mailto:hy=
c@symas.com>> wrote:
>=20
>         nacho.resa@gmail.com <mailto:nacho.resa@gmail.com> wrote:
>         > Full_Name: Ignacio Casal Quinteiro
>         > Version:
>         > OS:
>         > URL: ftp://ftp.openldap.org/incoming/
>         > Submission from: (NULL) (54.239.6.177)
>         >
>         >
>         > Meson is the new thing out there,
>=20
>         No.

--=20
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/