From 39757eca5578f2a04f4971add83acb2a3d50a752 Mon Sep 17 00:00:00 2001 From: joshvera Date: Fri, 19 Aug 2016 16:31:10 -0400 Subject: [PATCH] Add pgml=script/g++ to bench targets and -O2 on semantic-git-diff target --- semantic-diff.cabal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/semantic-diff.cabal b/semantic-diff.cabal index 2f81abacc..892b7c770 100644 --- a/semantic-diff.cabal +++ b/semantic-diff.cabal @@ -94,7 +94,10 @@ benchmark semantic-diff-bench , recursion-schemes , semantic-diff , these - ghc-options: -threaded -rtsopts -with-rtsopts=-N -j -O2 -static + if os(darwin) + ghc-options: -threaded -rtsopts -with-rtsopts=-N -j -O2 -static + else + ghc-options: -threaded -rtsopts -with-rtsopts=-N -j -O2 -static -pgml=script/g++ default-language: Haskell2010 default-extensions: OverloadedStrings, NoImplicitPrelude