on master help sign in
Add LLVM support for benchmarks
commit34b7603efae891f375b1c358ef489067df333b3c authorBryan O'Sullivan <bos@serpentine.com> dateTue 19 Mar 2013, 10:20 (14 years ago) parent296d7b9
1 file changed+6
benchmarks/text-benchmarks.cabal+6
benchmarks/text-benchmarks.cabal+6
@@ -15,12 +15,18 @@ build-type: Simple
1515
1616cabal-version: >=1.2
1717
18+flag llvm
19+ description: use LLVM
20+ default: False
21+
1822executable text-benchmarks
1923 hs-source-dirs: haskell ..
2024 c-sources: ../cbits/cbits.c
2125 cbits/time_iconv.c
2226 main-is: Benchmarks.hs
2327 ghc-options: -Wall -O2
28+ if flag(llvm)
29+ ghc-options: -fllvm
2430 cpp-options: -DHAVE_DEEPSEQ -DINTEGER_GMP
2531 build-depends: base == 4.*,
2632 binary,