Building patches that change format of interface files
Edward Z. Yang
ezyang at mit.edu
Wed Apr 15 12:26:31 UTC 2015
Technically, you can skip recompiling the stage1 compiler. But I never
bother: all of the libraries must be rebuilt; you have, after all,
changed the interface file format.
Edward
Excerpts from Jan Stolarek's message of 2015-04-15 13:20:10 +0100:
> GHC Devs,
>
> Once I compile GHC I use the "cd ghc; make 2" trick to re-compile any changes. That however does
> not work if my code changes modify the format of interface files - the resulting compiler is
> unusable. In fact the only way to get a working compiler after interface format change that I am
> aware of is to rebuild everything from scratch. Needless to say, this takes a lot of time. Is
> there a better way? I'd like to test D841 but if this means rebuilding everything then I'll have
> to pass.
>
> Janek
>
> ---
> Politechnika Łódzka
> Lodz University of Technology
>
> Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata.
> Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę
> prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.
>
> This email contains information intended solely for the use of the individual to whom it is addressed.
> If you are not the intended recipient or if you have received this message in error,
> please notify the sender and delete it from your system.
More information about the ghc-devs
mailing list