gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: would it be time to replace scons with meson build system?


From: Chris Kuethe
Subject: Re: would it be time to replace scons with meson build system?
Date: Tue, 4 Feb 2020 12:48:09 -0800

You might get better feedback if you were to do up a set of
patches/PRs that are easy to test, and include some test results, eg.
does this work out of the box on older embedded linux, on macos, on
freebsd/netbsd/openbsd, on raspberry pi, illumos... ? Probably a lot
of us here have the latest version of our preferred linux distribution
running on x86_64, but we don't want to prevent nice platform-agnostic
C code from running on any mostly posix environment because the build
system only understands i686 and x86_64 linux. (See wintel, or
vaxocentrism - http://catb.org/jargon/html/V/vaxocentrism.html)

And also help us to understand exactly what benefits the new build
system offers.

On Tue, Feb 4, 2020 at 11:31 AM Claus Klein <address@hidden> wrote:
>
> Claus-MBP:build-performance clausklein$ ./gen_src.py outdir
> generate 10 directories containing each 10 source files
>
> Claus-MBP:build-performance clausklein$ ./measure.py outdir
> Running command: rm -rf buildcmake && mkdir -p buildcmake && cd buildcmake && 
> CC=clang cmake -DCMAKE_BUILD_TYPE=Debug ..
> Running command: cd buildcmake && make -j 2
> Running command: cd buildcmake && make -j 2
> Running command: rm -rf buildcmakeninja && mkdir -p buildcmakeninja && cd 
> buildcmakeninja && CC=clang cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja ..
> Running command: cd buildcmakeninja && ninja -j 2
> Running command: cd buildcmakeninja && ninja -j 2
> Running command: rm -rf buildmeson && mkdir -p buildmeson && CC=clang meson 
> buildmeson
> Running command: ninja -C buildmeson -j 2
> Running command: ninja -C buildmeson -j 2
> Running command: rm -rf buildscons .sconsign.dblite
> Running command: CC=clang scons -j 2
> Running command: CC=clang scons -j 2
> cmake-make
>  2.910 gen
>  12.965 build
>  0.617 empty build
> cmake-ninja
>  1.215 gen
>  9.315 build
>  0.022 empty build
> meson
>  2.517 gen
>  9.370 build
>  0.018 empty build
> scons
>  0.016 gen
>  12.597 build
>  5.003 empty build
> Claus-MBP:build-performance clausklein$
>
> see too https://mesonbuild.com/Simple-comparison.html
>
>


-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]