--0000000000006c1a190575262da9
Content-Type: text/plain; charset="UTF-8"
not super important since it is anyway quite fast but takes half of the
time running meson + ninja than running make -j6... :)
real 0m3.070s
user 0m7.031s
sys 0m0.493s
vs
real 0m1.501s
user 0m2.138s
sys 0m0.446s
In any case it is not the end of the world to keep a fork for gvsbuild and
maybe fedora, at the end of the day this library
does not change that often to make the build system painful to maintain out
of upstream.
On Wed, Sep 5, 2018 at 7:15 PM Howard Chu hyc@symas.com wrote:
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
contain 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:
time make:
real 0m5.629s
user 0m5.197s
sys 0m0.399s
time meson build
real 0m0.452s
user 0m0.335s
sys 0m0.131s
time ninja -C build
real 0m0.992s
user 0m1.812s
sys 0m0.362s
You can see that configuring and building with meson is faster than just
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".
On Wed, Sep 5, 2018 at 6:31 PM Ignacio Casal Quinteiro <
nacho.resa@gmail.com mailto:nacho.resa@gmail.com> wrote:
yeah... knowing my previous tries with lmdb I did not have much
hope...
On Wed, Sep 5, 2018 at 6:21 PM Howard Chu <hyc@symas.com <mailto:
hyc@symas.com>> wrote:
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,
No.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
--
Ignacio Casal Quinteiro
--0000000000006c1a190575262da9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div>not super important=
since it is anyway quite fast but takes half of the time running meson + n=
inja than running make -j6... :)</div><div>real=C2=A0=C2=A0=C2=A0 0m3.070s<=
br>user=C2=A0=C2=A0=C2=A0 0m7.031s<br>sys=C2=A0=C2=A0=C2=A0 0m0.493s<br></d=
iv><div><br></div><div>vs</div><div><br></div><div>real=C2=A0=C2=A0=C2=A0 0=
m1.501s<br>user=C2=A0=C2=A0=C2=A0 0m2.138s<br>sys=C2=A0=C2=A0=C2=A0 0m0.446=
s<br></div><div><br></div><div>In any case it is not the end of the world t=
o keep a fork for gvsbuild and maybe fedora, at the end of the day this lib=
rary</div><div>does not change that often to make the build system painful =
to maintain out of upstream.<br></div></div></div></div><br><div class=3D"g=
mail_quote"><div dir=3D"ltr">On Wed, Sep 5, 2018 at 7:15 PM Howard Chu <=
<a href=3D"mailto:hyc@symas.com">hyc@symas.com</a>> wrote:<br></div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">Ignacio Casal Quinteiro wrote:<br>
> FWIW any chance to reconsider having both build systems?<br>
<br>
I have no desire to support multiple build systems. The Project does not su=
pport<br>
any tools that we don't use ourselves.<br>
<br>
The files you add significantly increase the line count, and don't even=
contain any comments.<br>
In contrast, the current Makefile is mostly comments.<br>
<br>
> with meson it is easy to build on windows. Plus I'd like you<br>
> to see at these numbers:<br>
> <br>
> time make:<br>
> real=C2=A0=C2=A0=C2=A0 0m5.629s<br>
> user=C2=A0=C2=A0=C2=A0 0m5.197s<br>
> sys=C2=A0=C2=A0=C2=A0 0m0.399s<br>
> <br>
> time meson build<br>
> real=C2=A0=C2=A0=C2=A0 0m0.452s<br>
> user=C2=A0=C2=A0=C2=A0 0m0.335s<br>
> sys=C2=A0=C2=A0=C2=A0 0m0.131s<br>
> <br>
> time ninja -C build<br>
> real=C2=A0=C2=A0=C2=A0 0m0.992s<br>
> user=C2=A0=C2=A0=C2=A0 0m1.812s<br>
> sys=C2=A0=C2=A0=C2=A0 0m0.362s<br>
> <br>
> You can see that configuring and building with meson is faster than ju=
st using make<br>
<br>
On my system the majority of build time is in gcc itself. The proportion of=
time that<br>
make itself uses is trivial. I would guess the only reason you're seein=
g a speedup is<br>
because meson parallelizes the build. You would get the same effect using &=
quot;make -jXX".<br>
<br>
> <br>
> On Wed, Sep 5, 2018 at 6:31 PM Ignacio Casal Quinteiro <<a href=3D"=
mailto:nacho.resa@gmail.com" target=3D"_blank">nacho.resa@gmail.com</a> <=
;mailto:<a href=3D"mailto:nacho.resa@gmail.com" target=3D"_blank">nacho.res=
a@gmail.com</a>>> wrote:<br>
> <br>
>=C2=A0 =C2=A0 =C2=A0yeah... knowing my previous tries with lmdb I did n=
ot have much hope...<br>
> <br>
>=C2=A0 =C2=A0 =C2=A0On Wed, Sep 5, 2018 at 6:21 PM Howard Chu <<a hr=
ef=3D"mailto:hyc@symas.com" target=3D"_blank">hyc@symas.com</a> <mailto:=
<a href=3D"mailto:hyc@symas.com" target=3D"_blank">hyc@symas.com</a>>>=
; wrote:<br>
> <br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:nacho.resa@gmail.co=
m" target=3D"_blank">nacho.resa@gmail.com</a> <mailto:<a href=3D"mailto:=
nacho.resa@gmail.com" target=3D"_blank">nacho.resa@gmail.com</a>> wrote:=
<br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> Full_Name: Ignacio Casal Quintei=
ro<br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> Version:<br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> OS:<br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> URL: <a href=3D"ftp://ftp.openld=
ap.org/incoming/" rel=3D"noreferrer" target=3D"_blank">ftp://ftp.openldap.o=
rg/incoming/</a><br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> Submission from: (NULL) (54.239.=
6.177)<br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0><br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0><br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> Meson is the new thing out there=
,<br>
> <br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0No.<br>
<br>
-- <br>
=C2=A0 -- Howard Chu<br>
=C2=A0 CTO, Symas Corp.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"=
http://www.symas.com" rel=3D"noreferrer" target=3D"_blank">
http://www.symas=
.com</a><br>
=C2=A0 Director, Highland Sun=C2=A0 =C2=A0 =C2=A0<a href=3D"
http://highland=
sun.com/hyc/" rel=3D"noreferrer" target=3D"_blank">
http://highlandsun.com/h=
yc/</a><br>
=C2=A0 Chief Architect, OpenLDAP=C2=A0 <a href=3D"
http://www.openldap.org/p=
roject/" rel=3D"noreferrer" target=3D"_blank">
http://www.openldap.org/proje=
ct/</a><br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature" data-smartmail=3D"gmail_signature">Ignacio Casal Quinteiro<=
/div>
--0000000000006c1a190575262da9--