>man make
-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.
ant 之於 java,就如同 make 之於 c/c++
ant 應該也有類似的作法 ?
可以使用
http://ant.apache.org/manual/CoreTasks/parallel.html
不過,跟 make -j 一樣要小心使用,以免非預期的事情發生...
沒有留言:
張貼留言