summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal8
1 files changed, 8 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 5c09a0c61..289e7a255 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -88,6 +88,10 @@ Flag EKG
Description: Enable use of EKG to monitor git-annex as it runs (at http://localhost:4242/)
Default: False
+Flag Benchmark
+ Description: Enable benchmarking
+ Default: False
+
Flag network-uri
Description: Get Network.URI from the network-uri package
Default: True
@@ -260,6 +264,10 @@ Executable git-annex
Build-Depends: ekg
GHC-Options: -with-rtsopts=-T
CPP-Options: -DWITH_EKG
+
+ if flag(Benchmark)
+ Build-Depends: criterion, deepseq
+ CPP-Options: -DWITH_BENCHMARK
source-repository head
type: git