summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-11-13 22:18:41 +0000
committeraarne <aarne@chalmers.se>2010-11-13 22:18:41 +0000
commit75570c982086f45fe5385150a1b65ab1cd28d773 (patch)
tree3fc9ff2b8689c75de2a6d2099d83f8d0ad3b2c22 /Setup.hs
parent115b4213d515ce308568fd71e362f6ce2881fb50 (diff)
flags in Setup.hs to speed up library compilation
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Setup.hs b/Setup.hs
index bd5e2a3ec..e28cd566f 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -176,6 +176,7 @@ rgl_dst_dir lbi = buildDir lbi </> "rgl"
-- don't support all flags needed; they are used in tests
langsCoding = [
+ (("amharic", "Amh"),""),
(("arabic", "Ara"),""),
(("bulgarian","Bul"),""),
(("catalan", "Cat"),""),
@@ -203,7 +204,7 @@ langsCoding = [
langs = map fst langsCoding
-- languagues for which to compile Lang
-langsLang = langs `except` ["Ara","Lat","Tur"]
+langsLang = langs `except` ["Amh","Ara","Lat","Hin","Tha","Tur"]
-- languages for which to compile Try
langsAPI = langsLang `except` ["Hin","Ina","Rus","Tha"]
@@ -299,7 +300,7 @@ unlexer abstr ls =
-- | Runs the gf executable in compile mode with the given arguments.
run_gfc :: PackageDescription -> LocalBuildInfo -> [String] -> IO ()
run_gfc pkg lbi args =
- do let args' = ["-batch","-gf-lib-path="++rgl_src_dir,"+RTS","-K16M","-RTS"] ++ filter (not . null) args
+ do let args' = ["-batch","-src","-gf-lib-path="++rgl_src_dir,"+RTS","-K32M","-RTS"] ++ filter (not . null) args
gf = default_gf pkg lbi
putStrLn $ "Running: " ++ gf ++ " " ++ unwords (map showArg args')
e <- rawSystem gf args'