ghc github.com help...
Simon Peyton-Jones
simonpj at microsoft.com
Wed Jul 13 15:27:00 CEST 2011
Would someone feel able to add instructions on how to use github to build GHC, to the GHC Wiki? It would save folk from re-inventing the wheel.
Probably the right place is a fresh page, linked from here:
http://hackage.haskell.org/trac/ghc/wiki/Repositories
A link to the diagramatic support that github offers (mentioned on this list a couple of weeks back) would be good, as well as a "how to" guide.
Simon
| -----Original Message-----
| From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On Behalf Of
| Johan Tibell
| Sent: 12 July 2011 14:48
| To: Karel Gardas
| Cc: cvs-ghc
| Subject: Re: ghc github.com help...
|
| On Tue, Jul 12, 2011 at 3:34 PM, Karel Gardas <karel.gardas at centrum.cz> wrote:
| > Hello,
| >
| > I've forked ghc/ghc repo on github.com to work on ARM port. Now I'd like to
| > check it out and compile it, but I'm not able to `sync-all get' since git
| > complains with `warning: remote HEAD refers to nonexistent ref, unable to
| > checkout.'
| >
| > I've also tested:
| > perl ./sync-all -r http://darcs.haskell.org/git get
| >
| > in a desperate attempt that git will get all the packages from haskell.org,
| > but the result is still the same.
| >
| > May I ask how the people here are using github.com for their GHC
| > development?
|
| I tested this a moment ago and this works:
|
| git clone https://github.com/ghc/ghc.git
| cd ghc
| ./sync-all get
|
| You'll also want to add your fork as a remote so you can push work to it:
|
| git remote add tibbe git at github.com:tibbe/ghc.git
|
| This only adds a remote for the ghc repo, you might also want to add
| remotes for other packages you cloned, like testsuite.
|
| You can now push to your repo:
|
| git push tibbe master
|
| Hope this helps.
|
| Cheers,
| Johan
|
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc at haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list