From a36c5ce52d6cfeb21a60d56f134cd2cf4c224700 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Mon, 10 Jan 2022 09:20:28 +0100 Subject: [PATCH] ci: Add -with-rtsopts=-KxK option to prevent introducing space leaks Resolves #387 --- postgrest.cabal | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/postgrest.cabal b/postgrest.cabal index 4008bb243..9a634d6ec 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -150,6 +150,8 @@ executable postgrest if flag(dev) ghc-options: -O0 -fwrite-ide-info + -- https://github.com/PostgREST/postgrest/issues/387 + -with-rtsopts=-K1K if flag(hpc) ghc-options: -fhpc -hpcdir .hpc else @@ -231,6 +233,8 @@ test-suite spec -fno-spec-constr -optP-Wno-nonportable-include-path -fno-warn-missing-signatures -fwrite-ide-info + -- https://github.com/PostgREST/postgrest/issues/387 + -with-rtsopts=-K33K test-suite querycost type: exitcode-stdio-1.0 @@ -266,6 +270,8 @@ test-suite querycost ghc-options: -O0 -Werror -Wall -fwarn-identities -fno-spec-constr -optP-Wno-nonportable-include-path -fwrite-ide-info + -- https://github.com/PostgREST/postgrest/issues/387 + -with-rtsopts=-K1K test-suite doctests type: exitcode-stdio-1.0