[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    Re: LTO (was: Re: [LyX/master] Do not redefine a stripped-down LyXRC object.)
From:       Pavel Sanda <sanda () lyx ! org>
Date:       2019-04-18 16:34:00
Message-ID: 20190418163400.GA20761 () atrey ! karlin ! mff ! cuni ! cz
[Download RAW message or body]

On Thu, Apr 18, 2019 at 05:05:30PM +0200, Jean-Marc Lasgouttes wrote:
> Le 18/04/2019 ?? 16:54, Pavel Sanda a écrit :
>> It used to be that LTO could quite increase linking time, is there some 
>> visible compil time difference for lyx?
>
> Yes, the link time is longer, but it seems that one can use -flto=4 to use 
> 4 CPUS.
>
> For reference, the configure line I used was:
> ../master/configure --enable-build-type=rel --with-version-suffix=-master 
> CXX='g++ -flto' AR='gcc-ar' RANLIB=gcc-ranlib LD='g++ -flto'
>
> I could try to include that in configure (and test it with clang too).

I am excited to see how this flies on my 10y old laptop.
If no other mail comes it means I got swapped to death :)
P
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic