Permalink
Browse files

move benchmark in their own repository and depends on the package dir…

…ectly.
  • Loading branch information...
1 parent b908b7b commit 2bb771eca29005716f2ce6e0ff84bbb3ab5ae062 @vincenthz committed Nov 7, 2012
Showing with 2 additions and 17 deletions.
  1. 0 { → Bench}/Bench.hs
  2. +2 −17 cryptohash.cabal
File renamed without changes.
View
@@ -86,27 +86,12 @@ Test-Suite test-kat
Executable Bench
Main-Is: Bench.hs
- Extensions: ForeignFunctionInterface
- C-sources: cbits/sha1.c
- cbits/sha256.c
- cbits/sha512.c
- cbits/sha3.c
- cbits/md2.c
- cbits/md4.c
- cbits/md5.c
- cbits/ripemd.c
- cbits/skein256.c
- cbits/skein512.c
- cbits/tiger.c
- cbits/whirlpool.c
+ hs-source-dirs: Bench
if flag(benchmark)
Buildable: True
- Build-depends: base >= 4, bytestring, criterion
+ Build-depends: base >= 4, bytestring, criterion, cryptohash
else
Buildable: False
- if flag(cryptoapi)
- Build-depends: crypto-api >= 0.5, tagged >= 0.1, cereal >= 0.2
- cpp-options: -DHAVE_CRYPTOAPI
source-repository head
type: git

0 comments on commit 2bb771e

Please sign in to comment.