-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chromium build optimizations #49797
Chromium build optimizations #49797
Conversation
I've just run a build with this PR and everything seems to work. I wonder about
Could this affect crash reports in an way? (not that we seem to get any) |
@bendlas comment in source tells -- Actually setting was taken from arch build (and I aim more on build speedup, than executable size -- because 6-8 hours builds is annoying) |
A little patch to jumbo script, which should improve reproducibility by sorting source files before merge.
Use $SOURCE_DATE_EPOCH instead
Also fix spacing style to conform google style
3bd1024
to
9ae406c
Compare
…:NixOS/nixpkgs into fix-chromium fixes #49797
…:NixOS/nixpkgs into fix-chromium fixes NixOS#49797
…:NixOS/nixpkgs into fix-chromium fixes NixOS#49797 (cherry picked from commit 4901dc4)
Motivation for this change
Drop dependency on gtk2 (chromium itself now require gtk3 for theming)
Use SOURCE_DATE_EPOCH to build timestamp generation (I believe it more stable, than built-in magic based on LASTCOMMIT file and rounded to 5:00 of first monday on month).
Sort files when merge them for jumbo -- I not sure, if they feed to script in predictable order, so sorting forced in merger script)
/cc @domenkozar @volth
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)