nixpkgs/pkgs/development
Adam Joseph 5f57c2e0f9 pkgs/test/stdenv/default.nix: add gcc-stageCompare
This commit adds a derivation `gcc-stageCompare` to
`pkgs/test/stdenv/default.nix`.

It is important to always build this derivation whenever building
`stdenv`!  Because we are using a Nix-driven bootstrap instead of
gcc's built-in `--enable-bootstrap`, the `gcc` derivation no longer
performs the post-self-compilation sanity check.  You must build
this derivation in order to perform that sanity check.

The major benefit of this new approach is that the sanity check
(which involves a third compilation of gcc) can be performed
*concurrently* with all packages that depend on `stdenv`, rather
than serially.  Since `stdenv` has very little derivation-level
parallelism it cannot take advantage of more than one or perhaps two
builders.  If you have three or more builders this commit will
reduce the time-to-rebuild-stdenv by around 20% (one of three gcc
rebuilds is removed from the critical path, and stdenv's build time
is dominated by roughly 3*gcc + 1*binutils + 1*bison-test-suite).

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-02 13:49:53 -07:00
..
androidndk-pkgs
beam-modules erlang-ls: fix build 2023-03-13 11:24:58 +00:00
bower-modules/generic
chez-modules
compilers pkgs/test/stdenv/default.nix: add gcc-stageCompare 2023-04-02 13:49:53 -07:00
coq-modules
dhall-modules
dotnet-modules
em-modules/generic
embedded
gnuradio-modules
guile-modules
haskell-modules haskellPackages: mark builds failing on hydra as broken 2023-03-13 11:24:50 +01:00
idris-modules
interpreters Merge staging-next into staging 2023-03-15 00:03:06 +00:00
java-modules
libraries stdenv: Nix-driven bootstrap of gcc 2023-04-02 13:49:41 -07:00
lisp-modules
lisp-modules-new
lua-modules
misc Merge pull request #220570 from Artturin/fixlints1 2023-03-14 02:15:55 +02:00
mobile
nim-packages nimPackages.safeset: init at 0.1.1 2023-03-13 11:37:32 -05:00
node-packages
ocaml-modules Merge pull request #220543 from vbgl/ocaml-duration-0.2.1 2023-03-14 21:25:48 -03:00
octave-modules
perl-modules
pharo
php-packages phpExtensions.msgpack: init at 2.2.0RC2 2023-03-13 17:52:28 +01:00
python2-modules
python-modules Merge staging-next into staging 2023-03-15 06:01:43 +00:00
quickemu
r-modules
rocm-modules/update-script
ruby-modules
scheme-modules/scheme-bytestructures
skaware-packages
tools ccache-links: inherit version to keep cc-wrapper happy 2023-04-02 03:04:20 -07:00
web Merge staging-next into staging 2023-03-13 18:01:48 +00:00