diff options
| author | aarne <aarne@chalmers.se> | 2010-11-13 22:18:41 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-11-13 22:18:41 +0000 |
| commit | 75570c982086f45fe5385150a1b65ab1cd28d773 (patch) | |
| tree | 3fc9ff2b8689c75de2a6d2099d83f8d0ad3b2c22 /Setup.hs | |
| parent | 115b4213d515ce308568fd71e362f6ce2881fb50 (diff) | |
flags in Setup.hs to speed up library compilation
Diffstat (limited to 'Setup.hs')
| -rw-r--r-- | Setup.hs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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' |
