Matthias Klose <email@example.com> wrote:
>I had to look at many "core" packages, which are needed for a normal
>buildd chroot, and and which are needed to build these packages for the
>And I was not that pleased to see how the packaging wasted CPU time. I
>even for our migration from proposed to release it would make sense to
>some builds, so that the slower architectures can catch up earlier. So
>what I found ...
>Unfortunately not enabled very often. The buildds set
>DEB_BUILD_OPTIONS="parallel=<N>", and if the build supports parallel
>can speed up the build substantially. Common mistakes:
> - debhelper based packages don't call with --parallel
> - debhelper based packages overwrite dh_auto_build and don't call
> - cdbs based packages don't set DEB_BUILD_PARALLEL = yes
> - Packages deep down in the stack live still in the stone age (bind9,
> db, ghostscript, ...)
>Many packages always build the documentation, even when only building
>architecture dependent packages (that is, on our slowest buildds). The
>solution where the upstream docs are not built by default is to build
>an extra target.
>However I didn't find any good recipes how to write a modern debhelper
>semi-modern cdbs rules file how to correctly configure a package to
>docs build for an arch-only build, and enable the docs for an
>There is no benefit for our proposed to release migration, however when
>a package, or building a package for the first time, I'm maybe only
>in one flavour. Disabling one flavour reduces the build time. Mostly
>packages using different builds for building udeb's. It would be nice
>disable these if DEB_STAGE=<something> is set.
>Shell-script like rules files
>Using a short "modern" debhelper rules file doesn't mean that you
>your own targets to break a configure or build target in many sub
>doesn't speed up the build itself, however if you debug an issue, and
>starts again ... something could be done better. Please try to at
>separate the configure and build steps. Look at boost1.xy to see what
>I don't like.
>As an example, gtk+3.0 did become eight times faster by enabling
>(parallel=8), disabling the doc build, and the udeb flavour. Just
>up, because I had to build it several times.
>Hope this helps a bit in making package builds and migrations a bit
The last python-qt4 sync I did from Debian took over a day to migrate due to the amount of time the autopkgtests took. It was at least twice as long as the build time on the slowest arch. Is there work planned to speed up these tests?
ubuntu-devel mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel