[Insight-developers] Parallel builds with CMake?

Michal Suchanek hramrach at centrum.cz
Mon Oct 25 06:23:10 EDT 2010


On 19 October 2010 15:08, David Cole <david.cole at kitware.com> wrote:
> CMake generates makefiles that are capable of parallel build with "-j N"
> flags to make...
> ParaView, VTK and ITK all should work with -j N.
> It is possible to write CMakeLists.txt code that causes problems with
> parallel builds, but they are generally sorted out rather quickly because
> *everyone* uses -j N to build these days.
> If you are having problems with parallel make, then details about the
> specific problem (what version of compiler / make / cmake, and the
> copy/pasted error message) would be helpful in order to help you...

Are Insight Applications also supposed to build in parallel?

I get this message when building them:

-- Build files have been written to:
/scratch/itk/insightapplications-3.20.0/Build
make[1]: Entering directory `/scratch/itk/insightapplications-3.20.0/Build'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent
make rule.
/usr/bin/cmake -H/scratch/itk/insightapplications-3.20.0
-B/scratch/itk/insightapplications-3.20.0/Build --check-build-system
CMakeFiles/Makefile.cmake 0

Thanks

Michal


More information about the Insight-developers mailing list