[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slow compilation of guile-2.1.x
From: |
Jan Synáček |
Subject: |
Re: Slow compilation of guile-2.1.x |
Date: |
Mon, 28 Nov 2016 09:47:08 +0100 |
On Fri, Nov 25, 2016 at 9:36 AM, <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, Nov 25, 2016 at 08:31:23AM +0100, Jan Synáček wrote:
>> Hello,
>>
>> while building guile-2.1.4 for Fedora, I noticed that the compilation
>> got *really* slow. I didn't measure it precisely, but as can be seen
>> from [1] (about 20 minutes) and [2] (about 100 minutes with make check
>> disabled), the time difference between the builds is roughly 80
>> minutes... Release notes mention that the VM has been rewritten and
>> the source is now compiled into ELF, but is it supposed to be this
>> slow?
>
> Are you building from scratch? Because then yes, 2.1.x is expected
> to bootstrap slowly [1]. The solution offered ATM is delivering a
> half-bootstrapped system [2].
Yes, but even a small (about 3 modules and a few 100s LoC) project of
mine compiles about 3 times slower.
> TL;DR the compiler has become much smarter, but also tougher to
> build (but read the refs anyway: they're a worthy read).
>
> regards
>
> [1]
> https://wingolog.org/archives/2016/01/11/the-half-strap-self-hosting-and-guile
> [2] https://wingolog.org/archives/2016/02/04/guile-compiler-tasks
Thank you, I wasn't aware of these. Good to know that it's not a bug.
Cheers,
--
Jan Synáček