summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-09-23 10:45:42 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-09-23 10:45:42 +0000
commita613254621412c595207bcc5681e0f2a3e5ce7d0 (patch)
treeb8e0b14849afece23c55e2e805520abd33b1629a
parent1c1ed8694bdd24b003fa5935d001a1835e9b0f4e (diff)
downloadhaskell-a613254621412c595207bcc5681e0f2a3e5ce7d0.tar.gz
Add primitive and vector packages for DPH support
DPH is now using the public vector package instead of its internal version. vector and primitive are not "boot" packages; they aren't required to build GHC, but they are required to validate (because we include DPH when validating). If you say './darcs-all get --no-dph' then you don't get DPH, vector, or primitive.
-rw-r--r--ghc.mk5
-rw-r--r--packages4
2 files changed, 5 insertions, 4 deletions
diff --git a/ghc.mk b/ghc.mk
index 56ab9908af..8fb95d0689 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -294,7 +294,8 @@ INTREE_ONLY_PACKAGES := haskeline mtl terminfo utf8-string xhtml
# because they use TH and/or annotations, or depend on other stage2
# packages.
STAGE2_PACKAGES := dph/dph-base dph/dph-prim-interface dph/dph-prim-seq \
- dph/dph-common dph/dph-prim-par dph/dph-par dph/dph-seq
+ dph/dph-common dph/dph-prim-par dph/dph-par dph/dph-seq \
+ vector
# Packages that are built by stage0, in addition to stage1. These
# packages are dependencies of GHC, that we do not assume the stage0
@@ -373,9 +374,7 @@ $(eval $(call addPackage,bin-package-db))
$(eval $(call addPackage,mtl))
$(eval $(call addPackage,utf8-string))
$(eval $(call addPackage,xhtml))
-
$(eval $(call addPackage,terminfo,($$(Windows),NO)))
-
$(eval $(call addPackage,haskeline))
$(eval $(call extra-packages))
diff --git a/packages b/packages
index 10551200c0..fef1b186d5 100644
--- a/packages
+++ b/packages
@@ -47,7 +47,6 @@ libraries/bytestring - packages/bytestring darc
libraries/Cabal - packages/Cabal darcs http://darcs.haskell.org/cabal/
libraries/containers - packages/containers darcs -
libraries/directory - packages/directory darcs -
-libraries/dph dph packages/dph darcs -
libraries/extensible-exceptions - packages/extensible-exceptions darcs -
libraries/filepath - packages/filepath darcs -
libraries/ghc-prim - packages/ghc-prim darcs -
@@ -74,3 +73,6 @@ nofib nofib nofib darc
libraries/deepseq extra packages/deepseq darcs -
libraries/parallel extra packages/parallel darcs -
libraries/stm extra packages/stm darcs -
+libraries/primitive dph packages/primitive darcs -
+libraries/vector dph packages/vector darcs -
+libraries/dph dph packages/dph darcs -