Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: xz tarball extreme compression #10626

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build: xz tarball extreme compression
Take node v7.4.0 as example, tarball size improvements listed as below:

node-v7.4.0-darwin-x64.tar.xz     9176904 ->  9147884 (99.68%)
node-v7.4.0-headers.tar.xz         351224 ->   349612 (99.54%)
node-v7.4.0-linux-arm64.tar.xz    9271000 ->  9254748 (99.82%)
node-v7.4.0-linux-armv6l.tar.xz   9243504 ->  9227428 (99.82%)
node-v7.4.0-linux-armv7l.tar.xz   9246228 ->  9228732 (99.81%)
node-v7.4.0-linux-ppc64.tar.xz    9448476 ->  9411128 (99.60%)
node-v7.4.0-linux-ppc64le.tar.xz  9553876 ->  9521424 (99.66%)
node-v7.4.0-linux-s390x.tar.xz    9923212 ->  9901772 (99.78%)
node-v7.4.0-linux-x64.tar.xz     10318700 -> 10304396 (99.86%)
node-v7.4.0-linux-x86.tar.xz      9907848 ->  9886448 (99.78%)
node-v7.4.0-sunos-x86.tar.xz      9742620 ->  9732160 (99.89%)
node-v7.4.0.tar.xz               16611356 -> 16459192 (99.08%)

So that we can know that we can have the improvement on all the xz
tarball releases!
  • Loading branch information
PeterDaveHello committed Mar 27, 2017
commit d786ca045c64762abb8668cbac27a19cc4c01ff4
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ endif
BINARYTAR=$(BINARYNAME).tar
# OSX doesn't have xz installed by default, http://macpkg.sourceforge.net/
XZ=$(shell which xz > /dev/null 2>&1; echo $$?)
XZ_COMPRESSION ?= 9
XZ_COMPRESSION ?= 9e
PKG=$(TARNAME).pkg
PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
PKGDIR=out/dist-osx
Expand Down