wiki:Repositories

Version 3 (modified by igloo, 3 years ago) (diff)

--

GHC Repositories

This page lists the active repositories relating to GHC. For instructions on actually getting a GHC source tree, see Building/GettingTheSources.

The HEAD

The Master List of repositories is in the file $(TOP)/packages. It is authoritative. Everything else in this sub-section may be out of date, although it gives the right general idea.

These repositories are the HEAD (main trunk) of GHC development:

http://darcs.haskell.org/ghc.gitThe main GHC repository
http://darcs.haskell.org/testsuiteThe test suite (requires python 2.4+)
http://darcs.haskell.org/nofibThe benchmark suite

Our repositories are either git repo, or darcs "hashed" format repos. You need Darcs version 2 or later (preferably 2.4 or later) to get the darcs repos. Use darcs's --lazy option when getting the repository remotely to dramatically speed up the transfer.

The following repositories are the "GHC boot" libraries, i.e. the set of libraries that are necessary to build GHC (i.e. they are used when building the stage 2 compiler). They populate the libraries/ directory of a GHC tree.

http://darcs.haskell.org/packages/array
http://darcs.haskell.org/packages/base
http://darcs.haskell.org/packages/bytestring
http://darcs.haskell.org/packages/Cabal
http://darcs.haskell.org/packages/containers
http://darcs.haskell.org/packages/directory
http://darcs.haskell.org/packages/filepath
http://darcs.haskell.org/packages/haskell98
http://darcs.haskell.org/packages/old-locale
http://darcs.haskell.org/packages/old-time
http://darcs.haskell.org/packages/packedstring
http://darcs.haskell.org/packages/pretty
http://darcs.haskell.org/packages/process
http://darcs.haskell.org/packages/random
http://darcs.haskell.org/packages/readline
http://darcs.haskell.org/packages/template-haskell
http://darcs.haskell.org/packages/unix
http://darcs.haskell.org/packages/Win32
http://darcs.haskell.org/packages/hpc

Additionally a GHC build needs these two tools:

http://darcs.haskell.org/hsc2hs
http://darcs.haskell.org/haddock2

Branches

The following branches are active:

7.2 Branch
Prepend ghc-7.2 to the name of the repository to get the 7.2 branch. For example, the 7.2 ghc repository is at http://darcs.haskell.org/ghc-7.2/ghc.git. Note: only the ghc repository, the core libraries and the testsuite were branched for 7.2; the other repos were not. However, there are symlinks under ghc-7.2 for the other repos. The sync-all script knows where to get everything, so you don't have to worry about this, just follow the instructions in Building/GettingTheSources.