良玉的博客 点点滴滴,积水成河_良玉的博客_页游、手游linux运维工程师之路

make提速

make -j
-j [jobs], --jobs[=jobs]

            Specifies  the number of jobs (commands) to run simultaneously.  If there is more than one -j option, the last one is effective.  If the -j option is given with-out an argument, make will not limit the number of jobs that can run simultaneously.
指同时运行命令的个数,如果又多个-j参数,最后一个-j才有效,如果-j参数后没有数值,那么make时能同时运行多少命令就运行多少。
make详解,仅做参考:

make 的運行


阅读全文...