/MP and the -j option
Hi, I was toying around with JamPlus on an existing codebase the other day and I noticed that adding /MP4 (VS 2008) on a four core system seems to spawn lots and lots of cl.exe processes.
It seems as if JamPlus is already spawing jobs in parallel by defaulting the -j option to the number of CPUs, because if I specify -j1 the build runs nicely with 4 cl.exe active most of the time. If that is the case, is there a way to control it from inside e.g. Jamrules?
RE: /MP and the -j option - Added by Andreas Fredriksson about 11 years ago
Maybe I should have looked at the previous post with almost the same exact subject.. :)
Sorry about that.
RE: /MP and the -j option - Added by Joshua Jensen about 11 years ago
There isn't a variable that you can set in Jam to control the number of processes. I will look into adding one. It shouldn't be hard.