[commit: ghc] master: binary-dist: when using xz, use extreme compression. (251b18a)

git at git.haskell.org git at git.haskell.org
Fri Feb 28 23:15:16 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/251b18aba97329ff41b8479ff78d38505cf086f8/ghc

>---------------------------------------------------------------

commit 251b18aba97329ff41b8479ff78d38505cf086f8
Author: Austin Seipp <austin at well-typed.com>
Date:   Fri Feb 28 17:13:21 2014 -0600

    binary-dist: when using xz, use extreme compression.
    
    When building a binary distribution with TAR_COMP=xz, using the -9e flag
    (extremely high compression) results in substantial savings: for the
    Mavericks builds, bzip2 scores in at about 120mb, while xz at level 9
    scores about 60mb - a huge reduction!
    
    This of course takes significantly longer - but it does not affect
    decompression speed for end users, so it's certainly worth it.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


>---------------------------------------------------------------

251b18aba97329ff41b8479ff78d38505cf086f8
 mk/config.mk.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index 6fec589..b805a14 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -697,7 +697,7 @@ PATCH_CMD      = @PatchCmd@
 TAR_CMD        = @TarCmd@
 BZIP2_CMD      = bzip2
 GZIP_CMD       = gzip
-XZ_CMD         = xz
+XZ_CMD         = xz -9e
 
 # bzip2 is default compression
 TAR_COMP      = bzip2



More information about the ghc-commits mailing list