parallel builds ("make -j" via pbuilder)

Anton Gladky gladk at debian.org
Fri Sep 20 07:31:37 UTC 2013


Hi Pierre,

2013/9/20 Pierre Saramito <Pierre.Saramito at imag.fr>:
> It seems that autotools (autoconf,automake,libtool) are no abble to handle cleanly parallel make.
> Cmake could have also similar problems with parallel builds.
> As many packages are based on autotools or cmake, it could be better to avoid
> running pbuilder with the -j flag.

It is not a build-system problem. If you migrate your debian/rules to dh9,
the parallel build can be adjusted by "--parallel" flag. So the parallel build
can be bypassed.

Generally, the package should also be compiled in both ways. You just
need to check, what exactly is broken in the code and what prevents such
builds.

Just a side-note. I personally prefer cmake as a build-system. The build-rules
are getting clearer. And in most cases it is easier to package cmake-based
project.

Cheers,

Anton



More information about the debian-science-maintainers mailing list