Topic
  • No replies
SystemAdmin
SystemAdmin
1240 Posts

Pinned topic Multithreaded compiling

‏2007-11-23T08:47:44Z |
When I compile a certain large project, it takes about 1 hour and my CPU is maxed out - one of the cores. The other core is doing nothing.

I need to reduce this compile time a lot, preferably to 10 minutes, and you can only get so far with more GHz.

Is it possible to let the IBM Java compile run multithreaded, so I can "just" throw a multi processor build box at the problem?

For C++ I did this using make's -j option, and Java is newer technology than make, so I would expect this to possible, but I have found no way to do it.

The project is build using, which has a parallel task, but it will only parallelize the tasks you specify and not the build as a whole.