-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWVille.cabal
70 lines (63 loc) · 2.2 KB
/
WVille.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
name: WVille
version: 0.1.0.0
-- synopsis:
-- description:
homepage: https://github.com/githubuser/WVille#readme
license: BSD3
license-file: LICENSE
author: Rinat Stryungis
maintainer: [email protected]
copyright: 2017 Rinat Stryungis
category: time-frequency, parallelism
build-type: Simple
extra-source-files: README.md
Cabal-version: >= 1.8
Tested-with: GHC >= 8.0.1
Flag llvm-ptx
Description: Use LLVM.PTX backend
Default: True
Flag llvm-cpu
Description: Use LLVM.Native backend
Default: True
library
hs-source-dirs: src
exposed-modules: ParseArgs, ParseFile
build-depends: base >= 4.7 && < 5,
text,
wigner-ville-accelerate,
attoparsec,
optparse-applicative
default-language: Haskell2010
executable WVille
hs-source-dirs: app
main-is: Main.hs
ghc-options: -O2 -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends: base >= 4.7 && < 5,
directory,
accelerate >= 1.2.0.0,
bytestring,
gamma,
text,
double-conversion,
vector,
wigner-ville-accelerate >= 0.1.0.3,
attoparsec,
WVille
if flag(llvm-cpu)
cpp-options: -DACCELERATE_LLVM_NATIVE_BACKEND
build-depends: accelerate-llvm-native >= 1.2.0.0
if flag(llvm-ptx)
cpp-options: -DACCELERATE_LLVM_PTX_BACKEND
build-depends:
accelerate-llvm-ptx >= 1.2.0.0
default-language: Haskell2010
test-suite WVille-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/githubuser/WVille