Permalink
Browse files

Add LLVM support for benchmarks

  • Loading branch information...
1 parent 296d7b9 commit 34b7603efae891f375b1c358ef489067df333b3c @bos bos committed Mar 19, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 benchmarks/text-benchmarks.cabal
@@ -15,12 +15,18 @@ build-type: Simple
cabal-version: >=1.2
+flag llvm
+ description: use LLVM
+ default: False
+
executable text-benchmarks
hs-source-dirs: haskell ..
c-sources: ../cbits/cbits.c
cbits/time_iconv.c
main-is: Benchmarks.hs
ghc-options: -Wall -O2
+ if flag(llvm)
+ ghc-options: -fllvm
cpp-options: -DHAVE_DEEPSEQ -DINTEGER_GMP
build-depends: base == 4.*,
binary,

0 comments on commit 34b7603

Please sign in to comment.