on format-real-float help sign in
text/benchmarks/text-benchmarks.cabal
66 lines 2.0 kB history raw
1name: text-benchmarks
2version: 0.0.0.0
3synopsis: Benchmarks for the text package
4description: Benchmarks for the text package
5homepage: https://bitbucket.org/bos/text
6license: BSD2
7license-file: ../LICENSE
8author: Jasper Van der Jeugt <jaspervdj@gmail.com>,
9 Bryan O'Sullivan <bos@serpentine.com>,
10 Tom Harper <rtomharper@googlemail.com>,
11 Duncan Coutts <duncan@haskell.org>
12maintainer: jaspervdj@gmail.com
13category: Text
14build-type: Simple
16cabal-version: >=1.2
18flag bytestring-builder
19 description: Depend on the bytestring-builder package for backwards compatibility.
20 default: False
21 manual: False
23flag llvm
24 description: use LLVM
25 default: False
26 manual: True
28executable text-benchmarks
29 hs-source-dirs: haskell ..
30 c-sources: ../cbits/cbits.c
31 cbits/time_iconv.c
32 include-dirs: ../include
33 main-is: Benchmarks.hs
34 ghc-options: -Wall -O2 -rtsopts
35 if flag(llvm)
36 ghc-options: -fllvm
37 cpp-options: -DHAVE_DEEPSEQ -DINTEGER_GMP
38 build-depends: base == 4.*,
39 binary,
40 blaze-builder,
41 bytestring-lexing >= 0.5.0,
42 containers,
43 criterion >= 0.10.0.0,
44 deepseq,
45 directory,
46 filepath,
47 ghc-prim,
48 integer-gmp,
49 stringsearch,
50 utf8-string,
51 vector
53 if flag(bytestring-builder)
54 build-depends: bytestring >= 0.9 && < 0.10.4,
55 bytestring-builder >= 0.10.4
56 else
57 build-depends: bytestring >= 0.10.4
59executable text-multilang
60 hs-source-dirs: haskell
61 main-is: Multilang.hs
62 ghc-options: -Wall -O2
63 build-depends: base == 4.*,
64 bytestring,
65 text,
66 time