【发布时间】:2015-01-28 15:51:24
【问题描述】:
make 命令允许 -j (--jobs) 选项记录如下:
-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.
在当今甚至手机都有多个内核和/或处理器的时代,我希望我的构建系统能够处理多线程处理。
设置rake 的最佳方式是什么,这样我可以确保最多有 3 个任务始终在运行?
【问题讨论】:
标签: ruby multithreading rake rakefile