如果您有編譯的經歷,對opensource的長時間make 一定有體會,比如php, 比如mysql的源代碼安裝
看到別人的一個安裝文檔用到了make –j 10,
man make 查了一下, 發現
[root@LB1 httpd-2.2.15]# make -j 10
-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 without an argument, make will not limit the number of jobs that can run simultaneously.
就是啟動多個job 來運行make , 記錄一下,提高效率
没有评论:
发表评论