Separate length from data in array representation
[packages/dph.git] / dph-common / dph-common.cabal
1 Name:           dph-DPHWAY
2 Version:        0.4.0
3 License:        BSD3
4 License-File:   LICENSE
5 Author:         Manuel M T Chakravarty, Gabriele Keller, Roman Leshchinskiy
6 Maintainer:     Roman Leshchinskiy <rl@cse.unsw.edu.au>
7 Homepage:       http://www.cse.unsw.edu.au/~chak/project/dph/
8 Category:       Data Structures
9 Synopsis:       Data structures for Nested Data-Parallel Haskell.
10
11 Cabal-Version:  >= 1.2
12 Build-Type:     Simple
13
14 Library
15   -- This Cabal file gets CPPed, then put in ../dhp_par and ../dph_seq
16   -- We therefore need to point back at the original location for
17   -- where to find the sources
18   HS-Source-Dirs: ../dph-common
19
20   Exposed-Modules:
21         Data.Array.Parallel
22         Data.Array.Parallel.Lifted
23         Data.Array.Parallel.Prelude
24         Data.Array.Parallel.Prelude.Int
25         Data.Array.Parallel.Prelude.Word8
26         Data.Array.Parallel.Prelude.Double
27         Data.Array.Parallel.PArray
28
29   Other-Modules:
30         Data.Array.Parallel.Lifted.PArray
31         Data.Array.Parallel.Lifted.Unboxed
32         Data.Array.Parallel.Lifted.Scalar
33         Data.Array.Parallel.Lifted.Repr
34         Data.Array.Parallel.Lifted.Closure
35         Data.Array.Parallel.Lifted.Instances
36         Data.Array.Parallel.Lifted.Combinators
37         Data.Array.Parallel.Lifted.Selector
38         Data.Array.Parallel.Prelude.Base.Int
39         Data.Array.Parallel.Prelude.Base.Word8
40         Data.Array.Parallel.Prelude.Base.Double
41         Data.Array.Parallel.Prelude.Base.Bool
42         Data.Array.Parallel.Prelude.Base.PArr
43         Data.Array.Parallel.Prelude.Base.Tuple
44         Data.Array.Parallel.Prelude.Base
45         Data.Array.Parallel.Prelude.Bool
46
47   Exposed: False
48
49   Extensions: TypeFamilies, GADTs, RankNTypes,
50               BangPatterns, MagicHash, UnboxedTuples, TypeOperators
51   GHC-Options: -funbox-strict-fields -haddock -fcpr-off
52   if impl(ghc >= 6.9)
53     GHC-Options: -Odph
54   else
55     GHC-Options: -O2 -fdicts-cheap -fno-method-sharing
56
57   Build-Depends:  base, array, random
58   if impl(ghc >= 6.9)
59     Build-Depends: ghc-prim
60   Build-Depends: dph-base
61
62   GHC-Options: -fdph-this
63
64   Build-Depends: dph-prim-DPHWAY
65   GHC-Options: -package-name dph-DPHWAY
66