A Chromium that I'm currently building, has been taking too long - around 12 hours already, it's still around 2/3 from completion at best:
......
[37717/51410] CXX obj/content/browser/browser/navigation_loader_interceptor.o
[37718/51410] CXX obj/content/browser/browser/navigation_url_loader_delegate.o
[37719/51410] CXX obj/content/browser/browser/navigation_url_loader.o
[37720/51410] CXX obj/content/browser/browser/prefetch_url_loader.o
[37721/51410] CXX obj/content/browser/browser/prefetch_url_loader_service.o
I followed the official instructions - https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md - and well as the recommendations of how to speed the compilation up. Here's my building flags for NG
$ EDITOR=vim gn args out/my_build1
===>
is_debug = false
symbol_level = 0
dcheck_always_on = false
is_official_build = true
enable_nacl = false
blink_symbol_level = 0
v8_symbol_level = 0
chrome_pgo_phase = 0
Perhpahs, they haven't been applied given that it's taken too long already? How would I verify whether or not?
Also, in the instruction the order isn't described:
- whether one has to call
gn gen out/Default
first and then gn args out/Default
- or
gn args out/Default
first and then gn gen out/Default
- or
gn args out/Default
alone and then start to build it.
Which one? I might've messed up with the order.
FF would take around 3 hours to get compiled.