Hi Georg,

instead of precompiled headers you could give ccache a try. It caches 
compilation steps so you will only recompile stuff that actually changed. This 
might also speed up the compilation of the rest of the program. 

If you decide to do it I would be interested in the results ;)

Timo

> Am 05.04.2019 um 09:03 schrieb <georg.fut...@dlr.de> <georg.fut...@dlr.de>:
> 
> Hi Christoph,
> 
> Thank you for your help.
> 
> The top answer to [1] is to use cotire. I will try to make it work.
> 
> Bye
> Georg
> 
> -----Ursprüngliche Nachricht-----
> Von: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] Im Auftrag von 
> Christoph Grüninger
> Gesendet: Freitag, 5. April 2019 00:05
> An: dumux@listserv.uni-stuttgart.de
> Betreff: Re: [DuMuX] Precompiled headers in Dumux?
> 
> Hi Georg,
> there is no Dune magic involved preventing you from using precomiled
> headers. But CMake does not offer a built-in way to use them, see for
> example [1] for ways to achieve what you want.
> 
> [1]
> https://stackoverflow.com/questions/148570/using-pre-compiled-headers-with-cmake
> 
> Beside using PCH, you can also adjust some switches for exprt.hpp to
> reduce the compilation time and pay with a slower runtime.
> I assume you already have an SSD and you are using the latest Clang.
> 
> Bye
> Christoph
> 
> -- 
> Nous vivons une époque où les pizzas arrivent plus vite que la police.
> [Claude Chabrol]
> 
>> Am 03.04.19 um 09:38 schrieb georg.fut...@dlr.de:
>> Hello Dumux,
>> 
>>  

_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to