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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 linux_use_debug_fission=0 | 34 linux_use_debug_fission=0 |
35 | 35 |
36 [debug fission](http://gcc.gnu.org/wiki/DebugFission) is not supported. | 36 [debug fission](http://gcc.gnu.org/wiki/DebugFission) is not supported. |
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 |
| 44 |
| 45 Icecc doesn't work with sysroot. |
| 46 |
43 ## Build only specific targets | 47 ## Build only specific targets |
44 | 48 |
45 If you specify just the target(s) you want built, the build will only walk that | 49 If you specify just the target(s) you want built, the build will only walk that |
46 portion of the dependency graph: | 50 portion of the dependency graph: |
47 | 51 |
48 cd $CHROMIUM_ROOT/src | 52 cd $CHROMIUM_ROOT/src |
49 ninja -C out/Debug base_unittests | 53 ninja -C out/Debug base_unittests |
50 | 54 |
51 ## Linking | 55 ## Linking |
52 | 56 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 or for a release build. | 154 or for a release build. |
151 *** | 155 *** |
152 | 156 |
153 Quick and dirty benchmark numbers on a HP Z600 (Intel core i7, 16 cores | 157 Quick and dirty benchmark numbers on a HP Z600 (Intel core i7, 16 cores |
154 hyperthreaded, 12 GB RAM) | 158 hyperthreaded, 12 GB RAM) |
155 | 159 |
156 * With tmpfs: | 160 * With tmpfs: |
157 * 12m:20s | 161 * 12m:20s |
158 * Without tmpfs | 162 * Without tmpfs |
159 * 15m:40s | 163 * 15m:40s |
OLD | NEW |