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

Re: Parallel build results



Russ Allbery a écrit :
> Aurelien Jarno <aurelien@aurel32.net> writes:
>> 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.
> 
> The effect of dpkg-buildpackage -j is to set DEB_BUILD_OPTIONS.  The
> package should continue to look at DEB_BUILD_OPTIONS to determine whether
> parallel builds should be done.

As far as I understand, the main effect is to call debian/rules with -j,
but it also set DEB_BUILD_OPTIONS (but I fail to see why).

Anyway, if the package continue to look to DEB_BUILD_OPTIONS, as the
make children could not communicate with the jobserver, some strange
results may appear. On architectures that have more than one flavour,
that just mean the number of jobs is actually (value of -j times number
of flavours).

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net


Reply to: