Fix the searching of target AR tool
[ghc.git] / packages
index d733e9a..c72f6f4 100644 (file)
--- a/packages
+++ b/packages
@@ -1,8 +1,7 @@
-# Despite the name "package", this file contains the master list of 
+# Despite the name "package", this file contains the master list of
 # the *repositories* that make up GHC. It is parsed by
 # * boot
-# * sync-all
-# * rules/extra-packages.mk
+# * rules/foreachLibrary.mk
 #
 # Some of this information is duplicated elsewhere in the build system:
 #    See Trac #3896
 #    - The main GHC source repo
 #    - Each boot package lives in a repo
 #    - DPH is a repo that contains several packages
-#    - Haddock and hsc2hs are applications, built on top of GHC, 
+#    - Haddock and hsc2hs are applications, built on top of GHC,
 #        and in turn needed to bootstrap GHC
 #    - ghc-tarballs is need to build GHC
-#    - nofib and testsuite are optional helpers
+#    - nofib is an optional helpers
 #
 # The format of the lines in this file is:
-#   localpath    tag    remotepath    VCS
+#   localpath  tag  remotepath  upstreamurl
 # where
 #   * 'localpath' is where to put the repository in a checked out tree.
 #   * 'remotepath' is where the repository is in the central repository.
-#   * 'VCS' is what version control system the repo uses.
-#
-#   * The 'tag' determines when "darcs-all get" will get the
-#     repo. If the tag is "-" then it will always get it, but if there
-#     is a tag then a corresponding flag must be given to darcs-all, e.g.
-#     if you want to get the packages with an "extralibs" or "testsuite"
-#     tag then you need to use "darcs-all --extra --testsuite get".
-#     Support for new tags must be manually added to the darcs-all script.
-# 
-#     'tag' is also used to determine which packages the build system
-#     deems to have the EXTRA_PACKAGE property: tags 'dph' and 'extra' 
-#     both give this property
+#     It is - for submodules.
+#   * 'upstreamurl' is the upstream Git repo location for packages
+#     maintained outside of GHC HQ. Repositories which are hosted on
+#     GitHub and GHC developers are granted push-rights for are denoted by
+#     being specified with the `ssh://` scheme. Thus, `https://`
+#     repo urls denote read-only access.
+#   * 'tag', in combination with the variables BUILD_DPH and BUILD_EXTRA_PKGS,
+#     determines which packages are build by default.
 #
 # Lines that start with a '#' are comments.
 #
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#    localpath                tag           remotepath                          VCS
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.                               -           ghc.git                             git
-ghc-tarballs                    -           ghc-tarballs.git                    git
-utils/hsc2hs                    -           hsc2hs.git                          git
-utils/haddock                   -           haddock.git                         git
-libraries/array                 -           packages/array.git                  git
-libraries/base                  -           packages/base.git                   git
-libraries/binary                -           packages/binary.git                 git
-libraries/bytestring            -           packages/bytestring.git             git
-libraries/Cabal                 -           packages/Cabal.git                  git
-libraries/containers            -           packages/containers.git             git
-libraries/directory             -           packages/directory.git              git
-libraries/extensible-exceptions -           packages/extensible-exceptions.git  git
-libraries/filepath              -           packages/filepath.git               git
-libraries/ghc-prim              -           packages/ghc-prim.git               git
-libraries/haskeline             -           packages/haskeline.git              git
-libraries/haskell98             -           packages/haskell98.git              git
-libraries/haskell2010           -           packages/haskell2010.git            git
-libraries/hoopl                 -           packages/hoopl.git                  git
-libraries/hpc                   -           packages/hpc.git                    git
-libraries/integer-gmp           -           packages/integer-gmp.git            git
-libraries/integer-simple        -           packages/integer-simple.git         git
-libraries/mtl                   -           packages/mtl.git                    git
-libraries/old-locale            -           packages/old-locale.git             git
-libraries/old-time              -           packages/old-time.git               git
-libraries/pretty                -           packages/pretty.git                 git
-libraries/process               -           packages/process.git                git
-libraries/template-haskell      -           packages/template-haskell.git       git
-libraries/terminfo              -           packages/terminfo.git               git
-libraries/unix                  -           packages/unix.git                   git
-libraries/utf8-string           -           packages/utf8-string.git            git
-libraries/Win32                 -           packages/Win32.git                  git
-libraries/xhtml                 -           packages/xhtml.git                  git
-testsuite                       testsuite   testsuite.git                       git
-nofib                           nofib       nofib.git                           git
-libraries/deepseq               extra       packages/deepseq.git                git
-libraries/parallel              extra       packages/parallel.git               git
-libraries/stm                   extra       packages/stm.git                    git
-libraries/random                dph         packages/random.git                 git
-libraries/primitive             dph         packages/primitive.git              git
-libraries/vector                dph         packages/vector.git                 git
-libraries/dph                   dph         packages/dph.git                    git
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# localpath                  tag         remotepath                      upstreamurl
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ghc-tarballs                 windows     ghc-tarballs.git                -
+libffi-tarballs              -           -                               -
+utils/hsc2hs                 -           -                               -
+utils/haddock                -           -                               ssh://git@github.com/haskell/haddock.git
+libraries/array              -           -                               -
+libraries/binary             -           -                               https://github.com/kolmodin/binary.git
+libraries/bytestring         -           -                               https://github.com/haskell/bytestring.git
+libraries/Cabal              -           -                               https://github.com/haskell/cabal.git
+libraries/ghc-compact        -           -                               -
+libraries/containers         -           -                               https://github.com/haskell/containers.git
+libraries/deepseq            -           -                               ssh://git@github.com/haskell/deepseq.git
+libraries/directory          -           -                               ssh://git@github.com/haskell/directory.git
+libraries/filepath           -           -                               ssh://git@github.com/haskell/filepath.git
+libraries/haskeline          -           -                               https://github.com/judah/haskeline.git
+libraries/hpc                -           -                               -
+libraries/mtl                -           -                               https://github.com/haskell/mtl.git
+libraries/parsec             -           -                               https://github.com/haskell/parsec.git
+libraries/pretty             -           -                               https://github.com/haskell/pretty.git
+libraries/process            -           -                               ssh://git@github.com/haskell/process.git
+libraries/terminfo           -           -                               https://github.com/judah/terminfo.git
+libraries/text               -           -                               https://github.com/haskell/text.git
+libraries/time               -           -                               https://github.com/haskell/time.git
+libraries/transformers       -           -                               https://git.haskell.org/darcs-mirrors/transformers.git
+libraries/unix               -           -                               ssh://git@github.com/haskell/unix.git
+libraries/Win32              -           -                               https://github.com/haskell/win32.git
+libraries/xhtml              -           -                               https://github.com/haskell/xhtml.git
+nofib                        nofib       -                               -
+libraries/parallel           extra       -                               ssh://git@github.com/haskell/parallel.git
+libraries/stm                -           -                               ssh://git@github.com/haskell/stm.git
+libraries/random             extra       -                               https://github.com/haskell/random.git
+libraries/primitive          dph         -                               https://github.com/haskell/primitive.git
+libraries/vector             dph         -                               https://github.com/haskell/vector.git
+libraries/dph                dph         -                               -
+.                            -           ghc.git                         -