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

Re: sbuild & cross build



Hilmar Preuße:
> Am 15.04.2020 um 02:45 teilte Wookey mit:
>> On 2020-04-15 00:02 +0200, Hilmar Preuße wrote:
> 
> Hi,
> 
> Thanks for the answer Wookey!
> 
> [...]
> Anyway: we have build failures of texlive-bin on sparch64/powerpc very
> likely b/c there are too many build threads called in parallel. I would
> not have been able to reproduce this issue on my box as my Oracle VBox
> VM has only one CPU. ;-)
> We need to reduce the # of threads on sparc64 & powerpc. Second try
> looks like this:
> 
> NO_MASSIVE_PARALLEL_BUILD := powerpc ppc64 sparc64
> 
> ifneq (,$(filter $(DEB_HOST_ARCH), $(NO_MASSIVE_PARALLEL_BUILD)))
>     DEB_BUILD_OPTIONS=parallel=8
> endif
> 
> This works fine, but now I have a lintian warning:
> 
> W: texlive-bin source: debian-rules-sets-DEB_BUILD_OPTIONS line 68
> 
> I also tried "MAKEFLAGS += -j8" inside the if statement, but the option
> was ignored.
> 
> How do I implement the Debian way? Thanks!
> 
> Hilmar
> 

Have you tried to pass --max-parallel=... to dh or the relevant
dh_auto_* helper?


~Niels


Reply to: