-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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: create smaller build artifacts #319
Conversation
f4930c7
to
197d985
Compare
find $(TARNAME)/ -type l | xargs rm # annoying on windows | ||
tar -cf $(TARNAME).tar $(TARNAME) | ||
rm -rf $(TARNAME) | ||
gzip -f -9 $(TARNAME).tar | ||
gzip -k -f -9 $(TARNAME).tar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-k
isn't very portable, it's missing on older versions of gzip and we like to make some of these assets on older systems. Perhaps gzip -c -f -9 $(TARNAME).tar > $(TARNAME).tar.gz
@jbergstroem would you mind adding this to the |
@rvagg Thanks for the review; I'll revise. |
check if xz exists on the host system and use if available, which makes xz-tarballs available for distribution. also remove deps/zlib/contrib since it's not in use -- shaves additional size from the tarballs. also, slightly modify the .gitignore file to ignore these new archives.
197d985
to
e3a3bff
Compare
@rvagg BINARYNAME now also gets xz-treatment. Edit: remove additional questions since they belong in another issue. |
check if xz exists on the host system and use if available, which makes xz-tarballs available for distribution. also remove deps/zlib/contrib since it's not in use -- shaves additional size from the tarballs. also, slightly modify the .gitignore file to ignore these new archives. PR-URL: #319 Reviewed-By: Rod Vagg <rod@vagg.org>
thanks @jbergstroem, landed in 17217c3 and I'll be trying this on our next nightly (soon) |
check if xz exists on the host system and use if available, which makes
xz-tarballs available for distribution. also remove deps/zlib/contrib
since it's not in use -- shaves additional size from the tarballs.
also, slightly modify the .gitignore file to ignore these new archives.
Refs #301.