android-make和mka有什么区别?

android-make和mka有什么区别?,第1张

概述因此,我正在构建TWRP.我看到有人在构建恢复映像时使用了命令make,例如使-j5recoveryimage,但其他人使用mkarecoveryimage.这两个命令make和mka有什么区别?我自己找不到全面的答案.谢谢!解决方法:mka旨在使速度更快.这是一个很好的描述(source):Thislittlegemofacommandis

因此,我正在构建TWRP.我看到有人在构建恢复映像时使用了命令make,例如使-j5 recoveryimage,但其他人使用mka recoveryimage.

这两个命令make和mka有什么区别?我自己找不到全面的答案.

谢谢!

解决方法:

mka旨在使速度更快.这是一个很好的描述(source):

This little gem of a command is basically equivalent to a super-charged version of make. Make is the program that gets called to build our source, choosing the correct compiler for each part of the AndroID OS that we are making. Problem is, make is SLOW in its default configuration. It can take hours longer depending on your harDWare. So what dID they do? They mated make with a cheetah, and took their child mka. mka improves upon make by using the program sched_tool to make full use of all the threads available on your machine (For AMD, this is equivalent to the number of cores your processor has; For Intel, this is usually equivalent to twice the number of cores your processor has, due to HyperThreading). What this means is that ALL of your processor is working, not just one small part of it.

总结

以上是内存溢出为你收集整理的android-make和mka有什么区别?全部内容,希望文章能够帮你解决android-make和mka有什么区别?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1210087.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-04
下一篇 2022-06-04

发表评论

登录后才能评论

评论列表(0条)

保存