[Debian-med-packaging] Bug#578313: Bug#578313: insighttoolkit: please support parallel building

Bill Hoffman bill.hoffman at kitware.com
Sun Apr 18 21:00:35 UTC 2010


On 4/18/2010 4:26 PM, Luis Ibanez wrote:
>
> Gaetan, Brad, Bill,
>
> Is there something we could do to make possible
> to build the ITK Wrappers using CMake's parallel
> building capabilities ?
>
> Thanks for any advice,
>
>

This has been fixed/broken sooooo  many times....  No one reports the 
errors back.   It should be pretty easy to fix, just add a few 
add_dependencies statements.  In fact, Luis you and I looked at this 
about 6 months ago, and there was an ifdef windows thing.  Because the 
windows build would not work at all since VS always does parallel these 
days.   So, I would first look for add_dependencies  calls in the ITK 
cmake lists files.  If they are conditional on WIN32 get rid of that and 
always do it.   If that is not the problem, I would need a list of the 
errors in the parallel build.

After that we need a dashboard that does a parallel build of ITK with 
wrapping so this does not break again, and again, and again.... :)

-Bill

>        Luis
>
>
> --------------------------------------------------------------
> On Sun, Apr 18, 2010 at 3:57 PM, Lucas Nussbaum
> <lucas at lucas-nussbaum.net <mailto:lucas at lucas-nussbaum.net>> wrote:
>
>     Source: insighttoolkit
>     Version: 3.16.0-2
>
>     Hi,
>
>     insighttoolkit takes a very long time to build. On my setup, the 10
>     packages that take the most time are (with build duration in seconds):
>
>     axiom 7036
>     qt4-x11 7050
>     python3.1 7255
>     gcc-4.4 7774
>     installation-guide 8141
>     mysql-dfsg-5.1 8445
>     life 9397
>     openoffice.org <http://openoffice.org> 11265
>     insighttoolkit 14791
>     atlas 29688
>
>     Please support building the package in parallel to leverage multicore
>     CPUs or SMP systems (see policy 4.9.1 for details).
>
>     I've seen the note in debian/rules saying that parallel building of
>     wrappers is broken. Is there really nothing we can do? Couldn't it be
>     possible to build most of the package in parallel, and then build the
>     wrappers sequentially, for example?
>     --
>     | Lucas Nussbaum
>     | lucas at lucas-nussbaum.net <mailto:lucas at lucas-nussbaum.net>
>     http://www.lucas-nussbaum.net/ |
>     | jabber: lucas at nussbaum.fr <mailto:lucas at nussbaum.fr>
>     GPG: 1024D/023B3F4F |
>
>
>
>     _______________________________________________
>     Debian-med-packaging mailing list
>     Debian-med-packaging at lists.alioth.debian.org
>     <mailto:Debian-med-packaging at lists.alioth.debian.org>
>     http://lists.alioth.debian.org/mailman/listinfo/debian-med-packaging
>
>


-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573





More information about the Debian-med-packaging mailing list