Hi Jasper,
Probably you intended to send this message to the dev-list too?
Thanks for your info on gcc vs. make. Probably Bob will comment on this.
Anyway, Eclipse already has the automatic build option you described. When I first tested it two years ago it didn't run very smoothly for large projects such as Inkscape, but things might have improved (at least my CPU has), so maybe I should try it again.
Diederik
-----Original Message----- From: Jasper van de Gronde [mailto:th.v.d.gronde@...528...] Sent: 2008 nov 13 9:18 To: mail@...1689... Subject: Re: [Inkscape-devel] Parallel build on Windows
Diederik van Lierop wrote:
Hi,
Can anyone tell me how to do a parallel build using mingw32 and btool on Windows? I've tried adding -j4 to build.xml, but that parameter is not being accepted.
I think this is actually a parameter of make, not gcc. That means that buildtool should be modified to allow for running multiple processes simultaneously. Not impossible, but definitely tricky (ideally you'd have to handle the GCC output gracefully for example).
I'm bisecting, but this could be so much faster on my quadcore...
I know what you mean :) I'm currently in a similar situation with Matlab, it's so frustrating to have it only run one test at a time... (Especially since the full set of tests takes more than a week to
complete.)
On a related note, I've often wondered whether there isn't some build system that tries to keep your build up-to-date while you're editing. So something that sits in the background, keeping an eye on all the source files, and once something is saved it tries to compile it (and/or anything that depends on it).
Obviously compiling would not actually be faster, but it might reduce the time you have to wait, especially if you're making large changes (editing multiple files), as you can just continue to do all sorts of other things while the build is being kept as up-to-date as possible behind your back.