summaryrefslogtreecommitdiff
path: root/gf.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-02-07 13:57:13 +0000
committerhallgren <hallgren@chalmers.se>2014-02-07 13:57:13 +0000
commit9a422839cc8bf6090fa35042ddd18e9372d854c0 (patch)
tree37229c0e35376ec84de0037b64927c2eb6fe1083 /gf.cabal
parent957dfb83b6f7ee0835d32b5930d47b133e678592 (diff)
pgf-shell: enable -rtsopts, call performGC between commands
This is to make it easier to find the cause of space leaks.
Diffstat (limited to 'gf.cabal')
-rw-r--r--gf.cabal2
1 files changed, 2 insertions, 0 deletions
diff --git a/gf.cabal b/gf.cabal
index 5824aaed2..dd74aaf92 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -255,6 +255,8 @@ executable pgf-shell
hs-source-dirs: src/runtime/haskell-bind/examples
build-depends: gf, base
default-language: Haskell2010
+ if impl(ghc>=7.0)
+ ghc-options: -rtsopts
test-suite rgl-tests
type: exitcode-stdio-1.0