[commit: ghc] ghc-7.8: binary-dist: when using xz, use extreme compression. (1686de0)

git at git.haskell.org git at git.haskell.org
Fri Feb 28 23:39:34 UTC 2014


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

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/1686de087757a0eaa983b264bd4667b3501274a5/ghc

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

commit 1686de087757a0eaa983b264bd4667b3501274a5
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>
    
    (cherry picked from commit 251b18aba97329ff41b8479ff78d38505cf086f8)


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

1686de087757a0eaa983b264bd4667b3501274a5
 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