Android 编译使用CCACHE
Using ccache
ccache is a compiler cache for C and C++ that can help make builds faster. In the root of the source tree, do the following:
ccache 是C与C++的编译缓存,它可以使得编译项目更快。在安卓源码根目录下,执行下列命令
$ export USE_CCACHE=1
$ export CCACHE_DIR=/<path_of_your_choice>/.ccache
$ prebuilts/misc/linux-x86/ccache/ccache -M 50G
1
2
3
The suggested cache size is 50-100G.
On Linux, you can watch ccache being used by doing the following:
$ watch -n1 -d prebuilts/misc/linux-x86/ccache/ccache -s
————————————————
版权声明:本文为CSDN博主「坏小孩2015」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/guxi123/java/article/details/50886868
ccache介绍和安装
Always Believe Something Beauitful Will Be Happen