优化编译环境Optimizing a build environment (optional)
2015-11-03 14:09
519 查看
https://source.android.com/source/initializing.html#optimizing-a-build-environment
Put the following in your .bashrc (or equivalent):
export USE_CCACHE=1
By default the cache will be stored in ~/.ccache. If your home directory is on NFS or some other non-local filesystem, you will want to specify the directory in your .bashrc file as well:
export CCACHE_DIR=<path-to-your-cache-directory>
The suggested cache size is 50-100GB. You will need to run the following command once you have downloaded the source code:
prebuilts/misc/linux-x86/ccache/ccache -M 50G
Put the following in your .bashrc (or equivalent):
export USE_CCACHE=1
By default the cache will be stored in ~/.ccache. If your home directory is on NFS or some other non-local filesystem, you will want to specify the directory in your .bashrc file as well:
export CCACHE_DIR=<path-to-your-cache-directory>
The suggested cache size is 50-100GB. You will need to run the following command once you have downloaded the source code:
prebuilts/misc/linux-x86/ccache/ccache -M 50G
相关文章推荐
- Android编译准备Establishing a Build Environment
- UIButton拖动响应事件,距离问题
- IOS开发之 ---- iOS8中提示框的使用UIAlertController(UIAlertView和UIActionSheet二合一)
- iOS9 系统分享调用(UIActivityViewController)
- iOS9 系统分享调用(UIActivityViewController)
- JAVA线程池ThreadPoolExecutor与阻塞队列BlockingQueue
- 黑马程序员—— Foundation框架NSArray、NSSet、NSDictionary、NSNumber、NSDate、NSValue
- UITableView的简单使用!
- Android:开源框架xutils介绍之 ViewUtils(注解实现UI绑定和事件绑定)
- 20135223/20135234/20135229小组——亚博 Arduino智能小车实践报告
- UITabBarController使用总结
- xcode build setting说明
- JDBC:DAO(三)利用queryRunner实现一个较好的DAO架构
- iOS8中提示框的使用UIAlertController(UIAlertView和UIActionSheet二合一)
- UITextField监听文字输入事件
- mosquitto 桥接环境
- iOS开发技巧(系列十八:扩展UIColor,支持十六进制颜色设置)
- UINavigationItem的那点事
- 解决Azure Management API ForbiddenError: The server failed to authenticate the request
- php preg_match中文 Compilation failed: character value in \x{...} sequence is too large at offset 7