Commits

Bryan O'Sullivan committed a241a93

Add LLVM support for benchmarks

  • Participants
  • Parent commits c0744b9

Comments (0)

Files changed (1)

File benchmarks/text-benchmarks.cabal

 
 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,