Commit Graph

33 Commits

Author SHA1 Message Date
dish
dcd6b53dfd minimal-bootstrap: drop gcc runtime refs (#549643) 2026-08-07 02:55:17 +00:00
Ben Siraphob
fd7f9ac633 minimal-bootstrap: drop dead libgcc rpath from the gcc wrapper 2026-08-05 11:46:21 -07:00
Aleksi Hannula
da19a96b09 minimal-bootstrap.libmpc: init at 1.3.1 2026-07-27 21:12:08 +03:00
Aleksi Hannula
ab3dec4efd minimal-bootstrap.libmpfr: init at 4.2.2 2026-07-27 21:12:08 +03:00
Aleksi Hannula
945300a325 minimal-bootstrap.libgmp: init at 6.3.0 2026-07-27 21:12:08 +03:00
sempiternal-aurora
accd3f9567 minimal-bootstrap.gcc_latest: 15.2.0 -> 15.3.0
Also update mpc at the same time, 1.3.1 -> 1.4.1
2026-07-15 16:29:38 +12:00
Aleksi Hannula
0150e1894f minimal-bootstrap: Use minimal gcc wrapper 2026-06-16 18:35:34 +03:00
Ben Siraphob
0571f521a8 minimal-bootstrap.gcc-glibc: drop ISL, --disable-libstdcxx-{backtrace,filesystem-ts} 2026-05-06 17:35:41 +00:00
Ben Siraphob
9ced5a330a minimal-bootstrap.gcc-latest: drop ISL, --disable-shared 2026-05-06 17:35:41 +00:00
Ben Siraphob
1ea118f2b0 minimal-bootstrap.gcc10: drop ISL, --disable-{libstdcxx-filesystem-ts,shared} 2026-05-06 17:35:40 +00:00
Ben Siraphob
4791df2472 minimal-bootstrap.gcc46-cxx: --disable-{libsanitizer,shared} 2026-05-06 17:34:32 +00:00
Ben Siraphob
b926d50aaf minimal-bootstrap: reduce bootstrap time 2026-05-03 11:41:44 -07:00
Ben Siraphob
b141bb23c9 minimal-bootstrap: post-install trim of locale data, docs, and unused python extensions
Removes content nothing between minimal-bootstrap and stage 4 ever uses: glibc share/i18n + lib/gconv (localedef and iconv() against the bootstrap glibc are never invoked downstream); python lib-dynload/{_decimal,_socket,_asyncio,_hashlib,_blake2,_sha*,_md5,_hmac,CJK codecs,_zoneinfo,_lsprof,syslog} plus idlelib/tkinter/turtle*/ensurepip (glibc's build-time scripts only use os/re/subprocess/argparse/pathlib/collections); binutils bin/{gprof,addr2line,elfedit}; share/{info,man} and gcc share/gcc-*/python (libstdc++ gdb pretty-printers).

Self-size: 940 MB -> ~870 MB. Largest contributors: glibc -38 MB, python -15 MB, binutils -7 MB.
2026-04-26 22:25:28 -07:00
Ben Siraphob
f6bbbded6d minimal-bootstrap: trim configure flags and slim python
Adds --enable-checking=release and --disable-{libgomp,libquadmath,libitm,libvtv,libssp,libatomic,libstdcxx-pch,nls} to all GCCs (those runtime libs are unused by the stdenv); switches gcc-4.6{,cxx} to install-strip; adds --disable-nls to binutils and coreutils; adds --disable-test-modules --without-ensurepip --without-static-libpython to python.

Bootstrap self-size 1.45 GB -> 940 MB; gcc46-cxx -14%, glibc -10%, gcc-latest -6% wall on the heavy builds.

(make -j was tried on tcc-built derivations and broke them silently; NOTE comments left in the affected files so this isn't re-attempted.)
2026-04-26 22:25:28 -07:00
Aleksi Hannula
5c3ae8e8cc minimal-bootstrap: allow building through pkgsMusl 2026-01-14 22:47:35 +02:00
Aleksi Hannula
37b28b8958 minimal-bootstrap: speed up ./configure
By default, stdenv runs configure using --disable-dependency-tracking.
This commit adds the same flag to most manual invocations of autotools
configure scripts in minimal-bootstrap.

However, the flag does not apply to musl & zlib, which come with
handwritten configure scripts. It also does not apply to Python, where
the dependency tracking feature is already disabled in automake config.
2026-01-14 22:47:35 +02:00
Aleksi Hannula
5485f88533 minimal-bootstrap.gcc-{latest,glibc}: 13.2.0 -> 15.2.0 2026-01-14 22:47:34 +02:00
Aleksi Hannula
6385e6b5c3 minimal-bootstrap: gcc8 -> gcc10 2026-01-14 22:47:34 +02:00
Aleksi Hannula
7922558946 minimal-bootstrap.gcc-glibc: init at 13.2.0 2026-01-12 16:04:54 +02:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Tristan Ross
a155990361 gcc-unwrapped: set main program 2025-07-28 00:08:36 -07:00
Fernando Rodrigues
05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Emily Trau
3f6b4aa365 minimal-bootstrap.gcc{8,-latest}: prune dependency on previous compiler 2023-10-18 01:08:53 +00:00
Emily Trau
6eb660c22f minimal-bootstrap: remove glibc and gcc2
These components aren't needed in the dependency chain anymore but take significant time to build in `minimal-bootstrap.test`
2023-10-08 16:50:10 -07:00
Emily Trau
936f9cc504 minimal-bootstrap.gcc-latest: init at 13.2.0 2023-10-07 18:20:25 -07:00
Emily Trau
0d6f7d244c minimal-bootstrap.gcc8: init at 8.5.0 2023-10-07 18:20:25 -07:00
Emily Trau
33cdcff799 minimal-bootstrap.gcc46-cxx: init at 4.6.4 2023-10-06 19:01:55 -07:00
Emily Trau
1c1962f975 minimal-bootstrap.bash: build with musl 2023-09-26 22:20:35 -07:00
Emily Trau
29b98b0f89 minimal-bootstrap.gcc46: build with tinycc-musl 2023-09-26 22:20:35 -07:00
Emily Trau
26eec1d4da minimal-bootstrap.gcc46: init at 4.6.4 2023-08-06 14:22:00 -07:00
Emily Trau
9811c08c16 minimal-bootstrap.gcc2: also install libgcc when not built with mes 2023-07-22 21:51:39 -07:00
Emily Trau
bd99e56908 minimal-bootstrap.gcc2-mes: init at 2.95.3 2023-06-25 15:01:41 +10:00