Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: docs/ccache_mac.md

Issue 1473953002: Fix various issues with Markdown docs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | docs/chromoting_build_instructions.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Using CCache on Mac 1 # Using CCache on Mac
2 2
3 [ccache](http://ccache.samba.org/) is a compiler cache. It speeds up 3 [ccache](http://ccache.samba.org/) is a compiler cache. It speeds up
4 recompilation of C/C++ code by caching previous compilations and detecting when 4 recompilation of C/C++ code by caching previous compilations and detecting when
5 the same compilation is being done again. This often results in a significant 5 the same compilation is being done again. This often results in a significant
6 speedup in common compilations, especially when switching between branches. This 6 speedup in common compilations, especially when switching between branches. This
7 page is about using ccache on Mac with clang and the NinjaBuild system. 7 page is about using ccache on Mac with clang and the NinjaBuild system.
8 8
9 [TOC] 9 [TOC]
10 10
11 ## Installation 11 ## Installation
12 12
13 In order to use [ccache](http://ccache.samba.org) with 13 In order to use [ccache](http://ccache.samba.org) with
14 [clang](http://code.google.com/p/chromium/wiki/Clang), you need to use the 14 [clang](clang.md), you need to use the
15 current [git HEAD](http://ccache.samba.org/repo.html), since the most recent 15 current [git HEAD](http://ccache.samba.org/repo.html), since the most recent
16 version (3.1.9) doesn't contain the 16 version (3.1.9) doesn't contain the
17 [patch needed](https://github.com/jrosdahl/ccache/pull/4) for using 17 [patch needed](https://github.com/jrosdahl/ccache/pull/4) for using
18 [the chromium style plugin](clang.md#Using_plugins). 18 [the chromium style plugin](clang.md#Using_plugins).
19 19
20 To install ccache with [homebrew](http://mxcl.github.com/homebrew/), use the 20 To install ccache with [homebrew](http://mxcl.github.com/homebrew/), use the
21 following command: 21 following command:
22 22
23 ```shell 23 ```shell
24 brew install --HEAD ccache 24 brew install --HEAD ccache
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 ninja -C out/Release chrome 90 ninja -C out/Release chrome
91 ``` 91 ```
92 92
93 ## Optional Steps 93 ## Optional Steps
94 94
95 * Configure ccache to use a different cache size with `ccache -M <max size>`. 95 * Configure ccache to use a different cache size with `ccache -M <max size>`.
96 You can see a list of configuration options by calling ccache alone. * The 96 You can see a list of configuration options by calling ccache alone. * The
97 default ccache directory is `~/.ccache`. You might want to symlink it to 97 default ccache directory is `~/.ccache`. You might want to symlink it to
98 another directory (for example, when using FileVault for your home 98 another directory (for example, when using FileVault for your home
99 directory). 99 directory).
OLDNEW
« no previous file with comments | « no previous file | docs/chromoting_build_instructions.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698