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 28 matching lines...) Expand all Loading... | |
| 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 | 47 linux_use_bundled_gold=0 |
| 48 | 48 |
| 49 Using the system linker is necessary since a recent binutils upgrade. | 49 Using the system linker is necessary when using glibc 2.21 or newer. |
|
Nico
2016/01/14 15:15:18
Why is this necessary? Is this an icecc bug? If so
| |
| 50 | 50 |
| 51 ## Build only specific targets | 51 ## Build only specific targets |
| 52 | 52 |
| 53 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 |
| 54 portion of the dependency graph: | 54 portion of the dependency graph: |
| 55 | 55 |
| 56 cd $CHROMIUM_ROOT/src | 56 cd $CHROMIUM_ROOT/src |
| 57 ninja -C out/Debug base_unittests | 57 ninja -C out/Debug base_unittests |
| 58 | 58 |
| 59 ## Linking | 59 ## Linking |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 158 or for a release build. | 158 or for a release build. |
| 159 *** | 159 *** |
| 160 | 160 |
| 161 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 |
| 162 hyperthreaded, 12 GB RAM) | 162 hyperthreaded, 12 GB RAM) |
| 163 | 163 |
| 164 * With tmpfs: | 164 * With tmpfs: |
| 165 * 12m:20s | 165 * 12m:20s |
| 166 * Without tmpfs | 166 * Without tmpfs |
| 167 * 15m:40s | 167 * 15m:40s |
| OLD | NEW |