-
Notifications
You must be signed in to change notification settings - Fork 3
/
haskell-molecular-dynamics.cabal
75 lines (67 loc) · 2.92 KB
/
haskell-molecular-dynamics.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
-- Initial haskell-molecular-dynamics.cabal generated by cabal init. For
-- further documentation, see http://haskell.org/cabal/users-guide/
name: haskell-molecular-dynamics
version: 0.1.0.0
synopsis: Haskell implementation of N-Body calculations
-- description:
homepage: https://github.com/sabauma/haskell-molecular-dynamics
-- license:
license-file: LICENSE
author: Spenser Bauman
maintainer: [email protected]
-- copyright:
-- category:
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
Flag ParTree
description: Enable parallel Barnes Hut tree computation
default: True
Flag ParIntegrator
description: Enable parallel Repa based intregrator
default: True
Flag MutatingPartition
description: BH algorithm will make use of a mutating partition
default: True
executable haskell-molecular-dynamics
main-is: MolecularDynamics/Main.hs
-- other-modules:
other-extensions: BangPatterns, ViewPatterns, GeneralizedNewtypeDeriving,
MultiParamTypeClasses, TemplateHaskell, TypeFamilies, CPP,
RecordWildCards
build-depends: base >=4.7 && <5, stm >=2.4, bytestring >=0.10,
vector >=0.10, cassava >=0.4, cereal >=0.4, repa >=3.2,
vector-th-unbox >=0.2, vector-space >=0.8, parallel >=3.2,
deepseq >=1.3, vector-strategies >=0.4, mtl >=2.1,
cereal-vector >=0.2
hs-source-dirs: src/
default-language: Haskell2010
ghc-options: -Wall -Odph -rtsopts -threaded -fno-liberate-case
-funfolding-use-threshold1000 -funfolding-keeness-factor1000
-fllvm -optlo-O3
if flag(partree)
cpp-options: -DPAR_TREE
if flag(parintegrator)
cpp-options: -DREPA_INTEGRATOR
if flag(mutatingpartition)
cpp-options: -DMUTATING_PARTITION
benchmark benchmark-all
type: exitcode-stdio-1.0
hs-source-dirs: src/ bench/
main-is: BenchAll.hs
default-language: Haskell2010
other-extensions: BangPatterns, ViewPatterns, GeneralizedNewtypeDeriving,
MultiParamTypeClasses, TemplateHaskell, TypeFamilies, CPP,
RecordWildCards
build-depends: base, stm, bytestring, vector, cassava, cereal, repa,
vector-th-unbox, vector-space, parallel, deepseq,
vector-strategies, mtl, cereal-vector, criterion
ghc-options: -Wall -Odph -rtsopts -threaded -fno-liberate-case
-funfolding-use-threshold1000 -funfolding-keeness-factor1000
-fllvm -optlo-O3
if flag(partree)
cpp-options: -DPAR_TREE
if flag(parintegrator)
cpp-options: -DREPA_INTEGRATOR
if flag(mutatingpartition)
cpp-options: -DMUTATING_PARTITION