From 9a422839cc8bf6090fa35042ddd18e9372d854c0 Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 7 Feb 2014 13:57:13 +0000 Subject: pgf-shell: enable -rtsopts, call performGC between commands This is to make it easier to find the cause of space leaks. --- src/runtime/haskell-bind/haskell-bind.cabal | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/runtime/haskell-bind/haskell-bind.cabal') diff --git a/src/runtime/haskell-bind/haskell-bind.cabal b/src/runtime/haskell-bind/haskell-bind.cabal index 8f8f62321..31f2a75d2 100644 --- a/src/runtime/haskell-bind/haskell-bind.cabal +++ b/src/runtime/haskell-bind/haskell-bind.cabal @@ -31,3 +31,5 @@ executable pgf-shell hs-source-dirs: examples build-depends: base, haskell-bind default-language: Haskell2010 + if impl(ghc>=7.0) + ghc-options: -rtsopts -- cgit v1.2.3