
Hi Julian,
Have a look at this MR: https://gitlab.haskell.org/ghc/ghc/merge_requests/317
As soon as it lands, you'll be able to run Hadrian builds with a local cache as follows:
hadrian/build --shared=path/to/cache
In this mode, build rules are cached, and if you happen to rerun a build rule with unchanged dependencies the resulting files will be copied from the cache instead of executing actual build commands.
This should significantly speed up switching between branches.
Note however that this does not give you a way to run distributed builds: at the moment it is not possible to offload any build rules to other machines.
Cheers,
Andrey
----------------------------------------------------------------------
Message: 1
Date: Sun, 17 Feb 2019 13:36:40 +1100
From: Julian Leviston
participants (1)
-
Andrey Mokhov