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

Bug#900554: gcc-8: don't do a full build for binary-indep builds

On 01/06/18 11:07, Matthias Klose wrote:
> On 01.06.2018 10:44, Emilio Pozuelo Monfort wrote:
>> Source: gcc-8
>> Version: 8.1.0-5
>> Severity: normal
>> Hi,
>> gcc-8 arch:all builds take up to 20h because they do a full build, only
>> to ship the arch-indep packages:
>>   gcc-8-locales deb devel optional arch=all
>>   gcc-8-source deb devel optional arch=all
>>   libgccjit-8-doc deb doc optional arch=all
>>   libstdc++-8-doc deb doc optional arch=all
>> It doesn't look like any of those would need to build all of GCC, so it
>> should be possible to split the -indep/-arch targets so that a binary-indep
>> build just does the minimum stuff it needs to build the above packages.
> building the docs is part of the upstream build process, so I don't think you
> can avoid these.

But those docs seem to be an info file for libgccjit-8-doc, and some manpages
and some html docs for libstdc++-8-doc. So perhaps those can be built
independently? Maybe the problem is that the rules to build them can't be called
independently of the rest of the build, in which case this may require some work
to allow calling those separately. That would require some upstream work.

> What you could do, is:
>  - not running the checks
>  - not building the hppa64 cross compiler
>  - not building the nvptx offload compiler
>  - not bootstrapping the compiler (nostrap)
>  - not building some frontends
> patches tested with -A, -B and -b would be welcome.

Ack. No time atm, but if I find some time I'll see what I can do.


Reply to: