NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.86k stars 1.52k forks source link

Use -O3 again #11934

Closed edolstra closed 10 hours ago

edolstra commented 20 hours ago

Motivation

This was lost in the switch to the new build system. -O3 provides around a 10% performance gain compared to -O2, see e.g. nix-env.qaAggressive.time in https://hydra.nixos.org/job/nix/master/metrics.nixpkgs#tabs-charts.

In addition, this PR reduces the amount of Meson boilerplate by merging a couple of build-utils-meson subdirs into build-utils-meson/common.

Context


Add :+1: to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.