nixpkgs/pkgs/stdenv
Adam Joseph 96588eb3de gcc: add common/checksum.nix
This commit adds `gcc/common/checksum.nix`, which contains code
common to both gcc11 and gcc12, implementing the `enableChecksum`
feature.

When gcc's built-in bootstrap (`--enable-bootstrap`) is used, gcc
compiles itself three times and compares a hash of the unlinked `.o`
files from the second and third compilation.  The
`enableChecksum=true` parameter performs the same comparison as part
of the `postInstall` phase.

Notably, `enableChecksum=true` can be used with `enableBootstrap=false`.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-02 13:49:53 -07:00
..
cross stdenv/cross: remove now-redundant file nativeBuildInput on mingw 2022-06-06 11:26:46 -07:00
custom
cygwin
darwin stdenvBootstrapTools: native aarch64-darwin build 2023-02-11 20:11:55 +01:00
freebsd config.contentAddressedByDefault: init option 2022-04-27 23:21:32 +03:00
generic mkDerivation: do not disable separateDebugInfo on LLVM stdenvs 2023-02-25 12:49:40 -06:00
linux gcc: add common/checksum.nix 2023-04-02 13:49:53 -07:00
native treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
nix stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix Merge staging-next into staging 2023-02-23 18:01:49 +00:00
booter.nix llvmPackages_*: respect cc for target when choosing C++ flavour 2022-01-07 14:42:41 +01:00
default.nix stdenv: Simplify dispatch 2022-07-29 18:34:02 -04:00