-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbenchmark.cabal
27 lines (23 loc) · 985 Bytes
/
benchmark.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
name: fast-strstr
version: 0.0.0
license: GPL-3
author: Raphael Javaux <raphaeljavaux[at]gmail.com>
maintainer: Raphael Javaux <raphaeljavaux[at]gmail.com>
synopsis: fast_strstr benchmark.
stability: Experimental
cabal-version: >= 1.9.2
build-type: Simple
executable benchmark
main-is: Benchmark.hs
ghc-options: -Wall -O2 -rtsopts
c-sources: ../byteshift_strstr.c
algorithms/fast_strstr.c
algorithms/naive_strstr.c
algorithms/volnitsky_strstr.c
include-dirs: ../
algorithms/
cc-options: -Wall -O3
build-tools: hsc2hs
build-depends: base >= 4 && < 5
, criterion >= 0.8 && < 1.0
, random >= 1.0.1.1 && < 2.0