[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

buildd machines vs. resource-hungry packages (ITK)


I am having a huge problem getting insighttoolkit (ITK) to build due
to the fact that it takes a huge amount of disk, memory, and time to
build.  In fact, the build is now generally failing because either
disk or memory is exhausted.

The main culprit behind the resource usage is the wrappers for Tcl,
Java, and Python.  The underlying ITK codebase consists of heavily
templated C++ libraries.  The wrapping process generates a huge amount
of code since many variants of each templated class are instantiated
and compiled.

Up until the most recent upload, about 10 GB disk was required, which
exceeds the capacity of several of the buildd machines, so builds were
failing.  Builds were also failing due to exhausting the buildd
memory.  Recently, it was suggested (#640667) that the memory issue
was due to building the huge amount of wrapping code using -O3 and
that it would be better to use -O2 instead; so upload (3.20.0-14)
switched to -O2.  However, I also turned on -g (as a side effect) and
doubled the disk usage to 22 GB!  Now it basically won't build
anywhere :-(

I can continue to fiddle with the compiler flags to reduce disk
requirements.  For example, I can remove -g again; however, ITK would
still need 10 GB or so, more than some buildds provide.  So something
more is required.

Any ideas?


Attachment: signature.asc
Description: Digital signature

Reply to: