gpsd-dev
[Top][All Lists]
Advanced

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

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


From: Claus Klein
Subject: would it be time to replace scons with meson build system?
Date: Tue, 4 Feb 2020 20:30:42 +0100

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



reply via email to

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