Re: Parallel build results
On Sat, Dec 01, 2007 at 09:21:33PM -0500, Daniel Schepler wrote:
> I finally got through the test builds of all the source packages in sid for
> i386 using dpkg-buildpackage -j3 on a dual core machine. The results as
> before are at http://people.debian.org/~schepler/build-logs/bymaint.html .
> Some statistics:
>
> 1014 succeeded, but with jobserver warnings
>
No that DEB_BUILD_OPTIONS="parallel=n" has been superseded by
dpkg-buildpackage -j, I am trying to fix the glibc package so that it
can be built in parallel.
Unfortunately I failed to get it built on parallel (whereas with
DEB_BUILD_OPTIONS it was possible), I am getting:
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
This basically means only the debian/rules file is run in parallel, the
real build is not, whereas with DEB_BUILD_OPTIONS it was the contrary.
You can imagine the difference in term of build time.
This is due to the following command:
$(call logme, -a $(log_build), $(MAKE) -C $(DEB_BUILDDIR))
where logme is defined as:
define logme
(exec 3>&1; exit `( ( ( $(2) ) 2>&1 3>&-; echo $$? >&4) | tee $(1) >&3)
4>&1`)
endef
Any idea how to get this working for parallel builds with
dpkg-buildpackage -j? I fail to see a solution.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
Reply to: