Any way to compile an old version from git?
Edward Z. Yang
ezyang at MIT.EDU
Thu May 19 11:50:48 CEST 2011
What might also be pretty useful is a global "checkout a commit from
before this time", which would also work even in the case of missing
build logs (we should also publish a log of build log hashes, so you
can have some record of known good builds). One would have to deal with
merges, but if the point is to build versions of GHC in the (not so distant) past
there won't be any owing to the recent migration. (You can always just pick the first branch
Excerpts from Erik de Castro Lopo's message of Wed May 18 04:17:44 -0400 2011:
> Hi all,
> In what litrle spare time I have I have been working on debugging
> a problem that only seems to arise on linux-powerpc (bug #5111).
> Since I'm time poor and CPU rich, I thought it might be useful to
> try and use a bisect appraoch to try and find when the bug was
> introduced. Unfortunately, if I do a git checkout of an old
> revision (I tried with a commit dated Jan 4th 2011) and try and
> build it it fails to build because the other source trees grabbed
> via the sync-all script is not in sync with the main ghc tree.
> Does anyone have a way of grabbing a snapshot of the source
> tree from some arbitrary date?
More information about the Cvs-ghc