Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Tips for improving build speed on Linux | 1 # Tips for improving build speed on Linux |
| 2 | 2 |
| 3 This list is sorted such that the largest speedup is first; see | 3 This list is sorted such that the largest speedup is first; see |
| 4 [Linux build instructions](linux_build_instructions.md) for context and | 4 [Linux build instructions](linux_build_instructions.md) for context and |
| 5 [Faster Builds](common_build_tasks.md) for non-Linux-specific techniques. | 5 [Faster Builds](common_build_tasks.md) for non-Linux-specific techniques. |
| 6 | 6 |
| 7 [TOC] | 7 [TOC] |
| 8 | 8 |
| 9 ## Use goma | 9 ## Use goma |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 37 [bug](https://github.com/icecc/icecream/issues/86) | 37 [bug](https://github.com/icecc/icecream/issues/86) |
| 38 | 38 |
| 39 clang=0 | 39 clang=0 |
| 40 | 40 |
| 41 Icecc doesn't support clang yet. | 41 Icecc doesn't support clang yet. |
| 42 | 42 |
| 43 use_sysroot=0 | 43 use_sysroot=0 |
| 44 | 44 |
| 45 Icecc doesn't work with sysroot. | 45 Icecc doesn't work with sysroot. |
| 46 | 46 |
| 47 linux_use_bundled_gold=0 | |
| 48 | |
| 49 Using the system linker is necessary since a recent binutils upgrade. | |
|
Nico
2016/01/13 20:47:16
What's "recent"? What will this mean in 4 months?
davve
2016/01/14 08:13:02
I get your point. :)
https://bugs.debian.org/cgi-
| |
| 50 | |
| 47 ## Build only specific targets | 51 ## Build only specific targets |
| 48 | 52 |
| 49 If you specify just the target(s) you want built, the build will only walk that | 53 If you specify just the target(s) you want built, the build will only walk that |
| 50 portion of the dependency graph: | 54 portion of the dependency graph: |
| 51 | 55 |
| 52 cd $CHROMIUM_ROOT/src | 56 cd $CHROMIUM_ROOT/src |
| 53 ninja -C out/Debug base_unittests | 57 ninja -C out/Debug base_unittests |
| 54 | 58 |
| 55 ## Linking | 59 ## Linking |
| 56 | 60 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 154 or for a release build. | 158 or for a release build. |
| 155 *** | 159 *** |
| 156 | 160 |
| 157 Quick and dirty benchmark numbers on a HP Z600 (Intel core i7, 16 cores | 161 Quick and dirty benchmark numbers on a HP Z600 (Intel core i7, 16 cores |
| 158 hyperthreaded, 12 GB RAM) | 162 hyperthreaded, 12 GB RAM) |
| 159 | 163 |
| 160 * With tmpfs: | 164 * With tmpfs: |
| 161 * 12m:20s | 165 * 12m:20s |
| 162 * Without tmpfs | 166 * Without tmpfs |
| 163 * 15m:40s | 167 * 15m:40s |
| OLD | NEW |