ghc build goop
authorBen Lippmeier <benl@ouroborus.net>
Sat, 12 Nov 2011 04:53:18 +0000 (15:53 +1100)
committerBen Lippmeier <benl@ouroborus.net>
Sat, 12 Nov 2011 04:53:18 +0000 (15:53 +1100)
dph-lifted-base/dph-lifted-base.cabal [moved from dph-lifted-base/dph-lifted-vseg.cabal with 100% similarity]
dph-lifted-copy/Data/Array/Parallel/Prelude.hs
dph-lifted-copy/dph-lifted-copy.cabal
ghc-packages
ghc-packages2
ghc.mk

index 5bbd9b8..578bd1b 100644 (file)
@@ -16,7 +16,7 @@ module Data.Array.Parallel.Prelude (
 import Data.Array.Parallel.Prelude.Bool
 import Data.Array.Parallel.Prelude.Tuple
 import Data.Array.Parallel.Lifted.PArray
-import Data.Array.Parallel.Lifted.Scalar
+import Data.Array.Parallel.Lifted.Scalar                ()
 
 
 {-# VECTORISE type () = () #-}
index a35fda5..0c2a996 100644 (file)
@@ -47,7 +47,10 @@ Library
   Extensions: TypeFamilies, GADTs, RankNTypes,
               BangPatterns, MagicHash, UnboxedTuples, TypeOperators
 
-  GHC-Options: -Odph -funbox-strict-fields -fcpr-off
+  GHC-Options:
+        -Odph -funbox-strict-fields -fcpr-off
+        -fno-warn-orphans
+        -fno-warn-missing-signatures
 
   Build-Depends:  
         base             == 4.4.*,
index 0ead831..97886b4 100644 (file)
@@ -2,6 +2,7 @@ dph-base
 dph-prim-interface
 dph-prim-seq
 dph-prim-par
+dph-lifted-base
 dph-lifted-boxed
 dph-lifted-copy
 dph-lifted-vseg
index c43ddd0..228fd65 100644 (file)
@@ -2,6 +2,7 @@ dph-base
 dph-prim-interface
 dph-prim-seq
 dph-prim-par
+dph-lifted-base
 dph-lifted-boxed
 dph-lifted-copy
 dph-lifted-vseg
diff --git a/ghc.mk b/ghc.mk
index bde84d2..78b168d 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -13,6 +13,7 @@ DPH_PACKAGES = \
        dph-prim-interface \
        dph-prim-seq \
        dph-prim-par \
+       dph-lifted-base \
        dph-lifted-boxed \
        dph-lifted-copy \
        dph-lifted-vseg 
@@ -108,7 +109,8 @@ libraries/dph/dph-lifted-vseg/dist-install/build/Data/Array/Parallel/PArray/PDat
        $$(libraries/dph/dph-base_dist-install_GHCI_LIB) \
        $$(libraries/dph/dph-prim-par_dist-install_GHCI_LIB) \
        $$(libraries/dph/dph-prim-seq_dist-install_GHCI_LIB) \
-       $$(libraries/dph/dph-prim-interface_dist-install_GHCI_LIB)
+       $$(libraries/dph/dph-prim-interface_dist-install_GHCI_LIB) \
+       $$(libraries/dph/dph-lifted-base_dist-install_GHCI_LIB)
 
 ifeq "$$(libraries/dph/dph-base_dist-install_GHCI_LIB)" ""
 $$(error dph_th_deps($1): libraries/dph/dph-base_dist-install_GHCI_LIB not defined!)