[Insight-users] Building ITK with multiple cores

Bill Hoffman bill.hoffman at kitware.com
Thu Oct 22 16:27:29 EDT 2009


Steve M. Robbins wrote:
> On Wed, Oct 21, 2009 at 04:23:58PM -0500, Sean McBride wrote:
>> On 10/20/09 2:56 PM, Bill Lorensen said:
>>
>>> It should work. CMake should handle it, although I have seen
>>> intermittent problems with the intel compiler on linux.
>> I have not tried recently, but also experienced intermittent problems
>> using -j4, both with itk and vtk.  We removed the flag from our
>> dashboards because of this.
> 
> My experience is that parallel build fails consistently if
> you enable cswig wrapping.  I haven't seen any problems with
> wrapping OFF, however.
> 

This is certainly something that should/can be supported.  There are 
ways to break parallel builds with CMake files by having implicit 
depends between targets.  I know at one point the wrapping system did 
work in parallel.   I would certainly say this is important and should 
be supported.

-Bill


More information about the Insight-users mailing list