Re: Productivity Tip from mpickering

2021-05-26 Thread Oleg Grenrus
(Not really) funny observation, that page and hadrian/doc/README.md have
about the same, but slightly different information. I don't know which
one to believe!

- Oleg

On 26.5.2021 15.38, Richard Eisenberg wrote:
> Could you add this insight to the wiki somewhere, so we can find it
> later? https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian seems
> like the right place.
>
> Thanks!
> Richard
>
>> On May 26, 2021, at 7:47 AM, Matthew Pickering
>> mailto:matthewtpicker...@gmail.com>> wrote:
>>
>> Hi,
>>
>> I am now using a new flavour combination which is proving *very* nice
>> as a compromise between fast recompiles and passing tests.
>>
>> My normal build command is now:
>>
>> ./hadrian/build --flavour=default+no_profiled_libs+omit_pragmas
>> --freeze1 -j
>>
>> This has the effect of
>>
>> * base libraries are compiled with optimisation
>> * Profiling libraries are not built
>> * Stage 1 compiler is compiled with -O + -fomit-interface-pragmas, so
>> recompilation behaviour is much better.
>>
>> The end result is a nearly clean testsuite run (I think there are two
>> failures) but much faster iterations when modifying `compiler/*`.
>>
>> Cheers,
>>
>> Matt
>> ___
>> ghc-devs mailing list
>> ghc-devs@haskell.org 
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
>
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Productivity Tip from mpickering

2021-05-26 Thread Richard Eisenberg
Could you add this insight to the wiki somewhere, so we can find it later? 
https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian 
 seems like the 
right place.

Thanks!
Richard

> On May 26, 2021, at 7:47 AM, Matthew Pickering  
> wrote:
> 
> Hi,
> 
> I am now using a new flavour combination which is proving *very* nice
> as a compromise between fast recompiles and passing tests.
> 
> My normal build command is now:
> 
> ./hadrian/build --flavour=default+no_profiled_libs+omit_pragmas --freeze1 -j
> 
> This has the effect of
> 
> * base libraries are compiled with optimisation
> * Profiling libraries are not built
> * Stage 1 compiler is compiled with -O + -fomit-interface-pragmas, so
> recompilation behaviour is much better.
> 
> The end result is a nearly clean testsuite run (I think there are two
> failures) but much faster iterations when modifying `compiler/*`.
> 
> Cheers,
> 
> Matt
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Productivity Tip from mpickering

2021-05-26 Thread Matthew Pickering
Hi,

I am now using a new flavour combination which is proving *very* nice
as a compromise between fast recompiles and passing tests.

My normal build command is now:

./hadrian/build --flavour=default+no_profiled_libs+omit_pragmas --freeze1 -j

This has the effect of

* base libraries are compiled with optimisation
* Profiling libraries are not built
* Stage 1 compiler is compiled with -O + -fomit-interface-pragmas, so
recompilation behaviour is much better.

The end result is a nearly clean testsuite run (I think there are two
failures) but much faster iterations when modifying `compiler/*`.

Cheers,

Matt
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs