diff options
-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 |