Android 编译使用CCACHE
2016-03-14 15:35
330 查看
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++的编译缓存,它可以使得编译项目更快。在安卓源码根目录下,执行下列命令
The suggested cache size is 50-100G.
On Linux, you can watch ccache being used by doing the following:
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
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
相关文章推荐
- Android 应用自动更新
- android中.classpath和.project作用
- Android静态工具类ToastUtil因为传入content不当导致Activity内存泄露
- android设置EditText不弹出软键盘
- 加载优化之缓存Lru,滑动停止的时候开始加载,滑动的时候不加载
- java Android之Activity之间简单的信息传递
- Android多媒体开发笔记-- AwesomePlayer基本框架及播放流程
- Android动态部署二:APK安装及AndroidManifest.xml解析流程分析
- Android 一次性退出所有Activity
- Android开发艺术探索--Activity、Context
- Android support design库的bug
- android——仿微拍贷滑动圆形菜单
- android studio 签名,打包,混淆,多渠道打包
- Android Gson使用入门及GsonFormat插件的使用
- Android开发学习之路-下拉刷新怎么做?
- android的四种设计模式
- git的简易使用
- Android SDK Samples讲解之ActionBarCompat-Basic
- Android Studio 快捷键
- 浅谈Android动画