nixpkgs/pkgs/development/tools/build-managers/meson
Sergei Trofimovich 69cf5181c3 stdenv/generic/setup.sh: enable parallel installs by default
The primary motivating example is openssl:

Before the change full package build took 1m54s minutes.
After the change full package build takes 59s.

About a 2x speedup.

The difference is visible because openssl builds hundreds of manpages
spawning a perl process per manual in `install` phase. Such a workload
is very easy to parallelize.

Another example would be `autotools`+`libtool` based build system where
install step requires relinking. The more binaries there are to relink
the more gain it will be to do it in parallel.

The change enables parallel installs by default only for buiilds that
already have parallel builds enabled. There is a high chance those build
systems already handle parallelism well but some packages will fail.

Consistently propagated the enableParallelBuilding to:
- cmake (enabled by default, similar to builds)
- ninja (set parallelism explicitly, don't rely on default)
- bmake (enable when requested)
- scons (enable when requested)
- meson (set parallelism explicitly, don't rely on default)
- waf (set parallelism explicitly, don't rely on default)
- qmake-4/5/6 (enable by default, similar to builds)
- xorg (always enable, similar to builds)
2023-02-26 22:02:09 +00:00
..
boost-Do-not-add-system-paths-on-nix.patch meson: Remove 0.57, use 0.60 everywhere 2022-01-11 12:51:09 +00:00
clear-old-rpath.patch meson: Remove 0.57, use 0.60 everywhere 2022-01-11 12:51:09 +00:00
default.nix meson: cleanup after https://github.com/NixOS/nixpkgs/pull/214046 2023-02-03 14:02:22 +08:00
disable-bitcode.patch meson: fix checks on darwin 2023-02-02 13:20:21 +01:00
emulator-hook.sh meson: add mesonEmulatorHook 2022-06-11 04:51:04 +03:00
fix-rpath.patch meson: 0.60.3 -> 0.61.2 2022-03-12 22:41:14 +08:00
gir-fallback-path.patch meson: Remove 0.57, use 0.60 everywhere 2022-01-11 12:51:09 +00:00
more-env-vars.patch meson: Remove 0.57, use 0.60 everywhere 2022-01-11 12:51:09 +00:00
setup-hook.sh stdenv/generic/setup.sh: enable parallel installs by default 2023-02-26 22:02:09 +00:00