diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-08-21 09:36:42 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2012-08-21 09:36:42 -0700 |
commit | d492e978ae2de77c645747f7d52714ce6212926b (patch) | |
tree | da1548a0e4287ee3c34bed8287fd22bab4453ddd | |
parent | d1364a7ddd7aa6cbf043525defae20b3b031f7ac (diff) | |
download | source.android.com-d492e978ae2de77c645747f7d52714ce6212926b.tar.gz |
Document the new location of ccache.
Change-Id: I4e5632bb9170428f64db38da91322e40592aac98
-rw-r--r-- | src/source/building.md | 9 | ||||
-rw-r--r-- | src/source/initializing.md | 7 |
2 files changed, 13 insertions, 3 deletions
diff --git a/src/source/building.md b/src/source/building.md index b4631716..e2de0120 100644 --- a/src/source/building.md +++ b/src/source/building.md @@ -105,14 +105,19 @@ In the root of the source tree, do the following: $ export USE_CCACHE=1 $ export CCACHE_DIR=/<path_of_your_choice>/.ccache - $ prebuilt/linux-x86/ccache/ccache -M 20G + $ prebuilts/misc/linux-x86/ccache/ccache -M 50G + +The suggested cache size is 50-100G. You can watch ccache being used by doing the following: - $ watch -n1 -d prebuilt/linux-x86/ccache/ccache -s + $ watch -n1 -d prebuilts/misc/linux-x86/ccache/ccache -s On OSX, you should replace `linux-x86` with `darwin-x86`. +When using Ice Cream Sandwich (4.0.x) or older, you should replace +`prebuilts/misc` with `prebuilt`. + # Troubleshooting Common Build Errors # ## Wrong Java Version ## diff --git a/src/source/initializing.md b/src/source/initializing.md index 5b6bcb40..ac50857b 100644 --- a/src/source/initializing.md +++ b/src/source/initializing.md @@ -185,7 +185,12 @@ you will want to specify the directory in your .bashrc as well. The suggested cache size is 50-100GB. You will need to run the following command once you have downloaded -the source code. +the source code: + + prebuilts/misc/linux-x86/ccache/ccache -M 50G + +When building Ice Cream Sandwich (4.0.x) or older, ccache is in +a different location: prebuilt/linux-x86/ccache/ccache -M 50G |