I do use ccache, I just finished a test build (firefox-92.0) with an empty ccache, 16 threads on Ryzen 3700X with nvme storage and 64G ram to verify my claims:
23:46.64 We know it took a while, but your build finally finished successfully!
23:46.64 If you are building Firefox often, SCCache can save you a lot of time. You can learn more here: https://firefox-source-docs.mozilla.org/setup/configuring_build_options.html#sccache
Config object not found by mach.
Configure complete!
Be sure to run |mach build| to pick up any changes
To view resource usage of the build, run |mach resource-usage|.
To take your build for a test drive, run: |mach run|
For more information on what to do now, see https://firefox-source-docs.mozilla.org/setup/contributing_code.html
So 24 minutes for the whole ./mach build itself.
~$ CCACHE_DIR=/home/duncan/void-packages/hostdir/ccache ccache -s
cache directory /home/duncan/void-packages/hostdir/ccache
primary config /home/duncan/void-packages/hostdir/ccache/ccache.conf
secondary config (readonly) /etc/ccache.conf
stats updated Sun Sep 12 16:24:39 2021
cache hit (direct) 0
cache hit (preprocessed) 0
cache miss 2273
cache hit rate 0.00 %
called for link 110
called for preprocessing 52
compile failed 10
preprocessor error 38
bad compiler arguments 1
autoconf compile/link 77
unsupported compiler option 152
no input file 22
cleanups performed 0
files in cache 4517
cache size 1.7 GB
max cache size 5.0 GB
And the time output for the whole finished package (time ./xbps-src pkg firefox), including extracting sources, splitting out debug symbols and installing all build dependencies (in void we build all packages in clean chroots and have a debug repo with symbols for each package):
26m02.68s real 302m19.80s user 12m01.55s system
I think most time by now is spend building rust crates, I do not have sccache setup to cache them, but that is something that should further improve build times.
You would start setting up a sequence of mail with something like mlist ~/mail | mthread | msort -d | mseq -S, then you can run mless(1), naigate through mails (:n, :p) and exit mless(1).
The current mail in mless is now the cur mail for the sequence, you can now run mrep(1), mfwd(1) etc. to reply and forwards, or use mshow -x . foo.patch to extract a patch from the mail, or mshow -O . foo.patch | patch to apply it.
There is way more to it, you can do things like mflag -T .= to flag the whole thread of the current mail as trashed.
Most of the time I use mblaze with a script that setups sequences based on the argument supplied, like openbsd to select all new mails from the openbsd mailing list or without an argument it setups a sequence with unread mails that are addressed directly towards me.
I do use ccache, I just finished a test build (firefox-92.0) with an empty ccache, 16 threads on Ryzen 3700X with nvme storage and 64G ram to verify my claims:
So 24 minutes for the whole ./mach build itself.
And the time output for the whole finished package (
time ./xbps-src pkg firefox), including extracting sources, splitting out debug symbols and installing all build dependencies (in void we build all packages in clean chroots and have a debug repo with symbols for each package):I think most time by now is spend building rust crates, I do not have sccache setup to cache them, but that is something that should further improve build times.
musl libc
Most tools use
.as default selector, which is the current mail, Seemmsg(7)(https://man.voidlinux.eu/mmsg.7).https://man.voidlinux.eu/mblaze.7#CONCEPTS describes how the current mail is stored.
You would start setting up a sequence of mail with something like
mlist ~/mail | mthread | msort -d | mseq -S, then you can runmless(1), naigate through mails (:n,:p) and exitmless(1). The current mail in mless is now thecurmail for the sequence, you can now runmrep(1),mfwd(1)etc. to reply and forwards, or usemshow -x . foo.patchto extract a patch from the mail, ormshow -O . foo.patch | patchto apply it. There is way more to it, you can do things likemflag -T .=to flag the whole thread of the current mail as trashed.Most of the time I use mblaze with a script that setups sequences based on the argument supplied, like
openbsdto select all new mails from the openbsd mailing list or without an argument it setups a sequence with unread mails that are addressed directly towards me.Void uses many hardening compiler features (all binaries are build with pie, fstack-protector-strong, -z,now, relro).
And recommended kernel configuration options from https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings.