forked from GitHub/gf-core
Setup.hs: Increase stack size for gf runs, fixes TryFin.gf build on Fedora 13 x86_64
This commit is contained in:
2
Setup.hs
2
Setup.hs
@@ -298,7 +298,7 @@ unlexer abstr ls =
|
|||||||
-- | Runs the gf executable in compile mode with the given arguments.
|
-- | Runs the gf executable in compile mode with the given arguments.
|
||||||
run_gfc :: PackageDescription -> LocalBuildInfo -> [String] -> IO ()
|
run_gfc :: PackageDescription -> LocalBuildInfo -> [String] -> IO ()
|
||||||
run_gfc pkg lbi args =
|
run_gfc pkg lbi args =
|
||||||
do let args' = ["-batch","-gf-lib-path="++rgl_src_dir] ++ filter (not . null) args
|
do let args' = ["-batch","-gf-lib-path="++rgl_src_dir,"+RTS","-K16M","-RTS"] ++ filter (not . null) args
|
||||||
gf = default_gf pkg lbi
|
gf = default_gf pkg lbi
|
||||||
putStrLn $ "Running: " ++ gf ++ " " ++ unwords (map showArg args')
|
putStrLn $ "Running: " ++ gf ++ " " ++ unwords (map showArg args')
|
||||||
e <- rawSystem gf args'
|
e <- rawSystem gf args'
|
||||||
|
|||||||
Reference in New Issue
Block a user