stdenv/linux: disable and drop isl from gcc's bootstrap tools

`isl` is only needed to support `gcc` transformations enabled by
`-fgraphite*` options. Packages do not usually use those flags. None of
the bootstrap packages use it.

`nixpkgs` does not use up-to-date `isl` for `gcc` either. Let's drop
`isl` dependency from the bootstrap binary seed.
This commit is contained in:
Sergei Trofimovich 2024-08-24 10:21:59 +01:00
parent d96115b590
commit a74147fe6a
2 changed files with 4 additions and 3 deletions

View File

@ -44,7 +44,10 @@ rec {
'';
};
bootGCC = pkgs.gcc.cc.override { enableLTO = false; };
bootGCC = pkgs.gcc.cc.override {
enableLTO = false;
isl = null;
};
bootBinutils = pkgs.binutils.bintools.override {
withAllTargets = false;

View File

@ -17,7 +17,6 @@
gnumake,
gnused,
gzip,
isl,
libc,
libmpc,
mpfr,
@ -156,7 +155,6 @@ stdenv.mkDerivation (finalAttrs: {
rm -rf $out/include/c++/*/ext/parallel
cp -d ${gmpxx.out}/lib/libgmp*.so* $out/lib
cp -d ${isl.out}/lib/libisl*.so* $out/lib
cp -d ${mpfr.out}/lib/libmpfr*.so* $out/lib
cp -d ${libmpc.out}/lib/libmpc*.so* $out/lib
cp -d ${zlib.out}/lib/libz.so* $out/lib