nixpkgs/pkgs/test
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
..
cc-wrapper cc-wrapper-test: add workaround for asan allocation error 2022-12-25 09:19:28 +01:00
coq tests.coq.overrideCoqDerivation: use runCommand instead of runCommandNoCC 2022-09-03 21:02:17 +09:00
cross treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
cuda python3Packages.tensorflow: fix `GLIBCXX_3.4.30' not found 2023-03-04 01:03:51 +02:00
cue cue: test in tests.cue-validation 2022-12-08 22:19:23 +01:00
dhall buildDhallUrl: use new SRI hash format 2022-06-04 08:19:29 -03:00
haskell pkgs.tests.haskell.cabalSdist: Avoid IFD 2022-05-24 13:23:19 +02:00
hooks tests: move stdenv hook tests to stdenv.hooks 2022-12-12 21:39:56 +02:00
install-shell-files
ld-library-path
macos-sierra-shared
make-binary-wrapper Merge pull request #172769 from ncfavier/wrappers-append-args 2022-06-12 11:46:03 +01:00
make-hardcode-gsettings-patch makeHardcodeGsettingsPatch: Support other constructors 2022-12-19 17:38:57 +01:00
make-wrapper makeWrapper,makeBinaryWrapper: implement --append-flags 2022-05-30 23:07:58 +02:00
nixos-functions Merge remote-tracking branch 'upstream/master' into testers 2022-05-09 14:27:13 +02:00
php
rust-sysroot
simple treewide: source .attrs in builders 2022-12-08 21:09:02 +02:00
stdenv pkgs/test/stdenv/default.nix: add gcc-stageCompare 2023-04-02 13:49:53 -07:00
stdenv-inputs
texlive tests.texlive: check that tlpdb.nix is the one generated from the upstream texlive.tlpdb.xz 2023-03-12 21:04:39 +00:00
vim vim-full: rename from vim_configurable 2022-12-09 09:55:55 +01:00
config.nix pkgs/tests/config.nix: Make test future proof 2022-05-29 11:50:48 +02:00
default.nix tests.stdenv: move patch-shebangs test 2023-02-17 22:23:33 +02:00
kernel.nix tests.kernel-config: remove test that wasn't being run 2023-01-17 20:01:58 +02:00
overriding.nix tests.overriding: add repeatedOverrides-pname, repeatedOverrides-entangled-pname 2023-01-28 12:10:47 +02:00