Cabal file wibbles
[packages/dph.git] / dph-examples / dph-examples.cabal
1
2
3 Name:                dph-examples
4 Version:             0.6.0.1
5 License:             BSD3
6 License-file:        LICENSE
7 Author:              The DPH Team
8 Maintainer:          Ben Lippmeier <benl@ouroborus.net>
9 Build-Type:          Simple
10 Cabal-Version:       >=1.8
11 Stability:           experimental
12 Category:            Data Structures
13 Homepage:            http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell
14 Description:         Data Parallel Haskell example programs.
15 Synopsis:            Data Parallel Haskell example programs.
16
17 -- Smoke ----------------------------------------------------------------------
18 -- examples/smoke/data
19 Executable dph-smoke-bool
20   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
21   Main-is:        Main.hs
22   other-modules:  Vectorised
23   hs-source-dirs: examples/smoke/data/Bool
24   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
25
26
27 -- examples/smoke/prims
28 Executable dph-smoke-concat
29   build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
30   main-is:        Main.hs
31   other-modules:  Vectorised
32   hs-source-dirs: examples/smoke/prims/Concat
33   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
34
35
36 Executable dph-smoke-sumsq
37   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
38   Main-is:        Main.hs
39   other-modules:  Vector
40                   Vectorised
41                   Timing Randomish
42   hs-source-dirs: examples/smoke/prims/SumSquares/dph lib
43   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
44  
45  
46 Executable dph-smoke-evens
47   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
48   Main-is:        Main.hs
49   other-modules:  Vector
50                   Vectorised
51                   Timing Randomish
52   hs-source-dirs: examples/smoke/prims/Evens/dph lib
53   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
54
55
56 -- examples/smoke/sharing
57 Executable dph-smoke-indices
58   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
59   Main-is:        Main.hs
60   other-modules:  Vectorised
61   hs-source-dirs: examples/smoke/sharing/Indices lib
62   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
63  
64  
65 Executable dph-smoke-rank
66   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
67   Main-is:        Main.hs
68   other-modules:  Vectorised Util Timing Randomish
69   hs-source-dirs: examples/smoke/sharing/Rank lib
70   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
71
72
73 Executable dph-smoke-reverse
74   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
75   Main-is:        Main.hs
76   other-modules:  Vectorised Randomish
77   hs-source-dirs: examples/smoke/sharing/Reverse lib
78   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
79
80
81 -- Imaginary ------------------------------------------------------------------
82 -- Executable dph-imaginary-primes
83 --   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
84 --   Main-is:        Main.hs
85 --   other-modules:  Vectorised
86 --   hs-source-dirs: examples/imaginary/Primes lib
87 --   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
88
89 Executable dph-imaginary-words
90   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
91   Main-is:        Main.hs
92   other-modules:  Vectorised
93   hs-source-dirs: examples/imaginary/Words lib
94   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
95
96
97 -- Spectral -------------------------------------------------------------------
98 Executable dph-spectral-dotp
99   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
100   Main-is:        Main.hs
101   other-modules:  Vector
102                   Vectorised
103                   Timing Randomish
104   hs-source-dirs: examples/spectral/DotProduct/dph lib
105   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
106
107
108 Executable dph-spectral-smvm
109   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
110   Main-is:        Main.hs
111   other-modules:  Vectorised
112                   Timing
113   hs-source-dirs: examples/spectral/SMVM/dph lib
114   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
115
116
117 <<<<<<< HEAD
118 --Executable dph-spectral-quickhull
119 --  Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
120 --  Main-is:        Main.hs
121 --  other-modules:  Vectorised
122 --                  Timing Points2D.Types SVG
123 --  hs-source-dirs: examples/spectral/QuickHull/dph examples/spectral/QuickHull/lib lib
124 --  ghc-options:    -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
125
126
127 --Executable dph-spectral-quickhull-vector
128 --  Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
129 --  Main-is:        Main.hs
130 --  other-modules:  QuickHullIO
131 --                  QuickHullSplit
132 --                  QuickHullVector
133 --                  Timing Points2D.Types SVG
134 --  hs-source-dirs: examples/spectral/QuickHull/vector examples/spectral/QuickHull/lib lib
135 --  ghc-options:    -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
136 =======
137 Executable dph-spectral-quickhull
138   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.0.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
139   Main-is:        Main.hs
140   other-modules:  Vectorised
141                   Timing Points2D.Types SVG
142   hs-source-dirs: examples/spectral/QuickHull/dph examples/spectral/QuickHull/lib lib
143   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
144
145
146 Executable dph-spectral-quickhull-vector
147   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.0.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
148   Main-is:        Main.hs
149   other-modules:  QuickHullIO
150                   QuickHullSplit
151                   QuickHullVector
152                   Timing Points2D.Types SVG
153   hs-source-dirs: examples/spectral/QuickHull/vector examples/spectral/QuickHull/lib lib
154   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
155 >>>>>>> Cabal file wibbles
156
157
158 Executable dph-spectral-quicksort
159   Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
160   Main-is:        Main.hs
161   other-modules:  Vectorised
162                   Timing
163   hs-source-dirs: examples/spectral/QuickSort/dph lib
164   ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
165
166
167 -- Real -----------------------------------------------------------------------
168 --Executable dph-real-nbody-gloss
169 --    Main-is:        MainGloss.hs
170 --    other-modules:  Common.Dump Common.World Common.Body Common.Util 
171 --                     Solver Solver.ListBH.Solver
172 --                            Solver.NestedBH.Solver
173 --                            Solver.VectorBH.Solver
174 --                            Solver.VectorNaive.Solver
175 --                     Timing Points2D.Types Points2D.Generate
176 --                     System.Console.ParseArgs
177 --                     Gloss.MainArgs Gloss.Draw Gloss.Config
178 --    Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*, gloss == 1.6.*
179 --    hs-source-dirs: examples/real/NBody examples/real/NBody/Gloss lib
180 --    ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
181
182 Executable dph-real-nbody
183     Main-is:        MainBatch.hs
184     other-modules:  Common.Dump Common.World Common.Body Common.Util 
185                     Solver Solver.ListBH.Solver
186                            Solver.NestedBH.Solver
187                            Solver.VectorBH.Solver
188                            Solver.VectorNaive.Solver
189                     Timing Points2D.Types Points2D.Generate
190                     Batch.MainArgs Batch.Config
191     Build-depends:  base == 4.6.*, vector == 0.9.*, random == 1.0.*, old-time == 1.1.*, containers == 0.5.*, dph-base == 0.6.*, dph-prim-par == 0.6.*, dph-lifted-vseg == 0.6.*, HUnit == 1.2.*
192     hs-source-dirs: examples/real/NBody examples/real/NBody/Batch lib
193     ghc-options:    -eventlog -rtsopts -threaded -fllvm -Odph -package dph-lifted-vseg -fcpr-off -fno-liberate-case -fsimpl-tick-factor=1000
194