Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use -O3 again #11934

Merged
merged 2 commits into from
Nov 22, 2024
Merged

Use -O3 again #11934

merged 2 commits into from
Nov 22, 2024

Commits on Nov 21, 2024

  1. Merge build-utils-meson/{diagnostics,threads} into build-utils-meson/…

    …common
    
    This reduces the amount of boilerplate. More importantly, it provides
    a place to add compiler flags (such as -O3) without having to add it
    to every subproject (and the risk of forgetting to include it).
    edolstra committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    965ca18 View commit details
    Browse the repository at this point in the history
  2. Use -O3 again

    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.
    edolstra committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    ed120a6 View commit details
    Browse the repository at this point in the history