From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id C87923AA9016 for ; Thu, 17 Nov 2022 16:27:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C87923AA9016 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org From: Sam James To: libabigail@sourceware.org Cc: Sam James Subject: [PATCH v2] Use xz as the default tarball compression format Date: Thu, 17 Nov 2022 16:27:26 +0000 Message-Id: <20221117162726.3397848-1-sam@gentoo.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: xz is quite a common format for software to be distributed in nowadays because of its size reductions. With this patch, here is the result on the master branch at db716e3b15912b7162def1faa704eb7823bbf34: .rw-r--r-- 406M sam 8 Nov 07:27  libabigail-2.2.tar.gz .rw-r--r-- 348M sam 8 Nov 07:26  libabigail-2.2.tar.xz * configure.ac: add dist-xz to AM_INIT_AUTOMAKE. * Makefile.am: adjust $(TARBALL) to new extension. * Makefile.am: pass XZ_OPT="-0" for distcheck-fast. Signed-off-by: Sam James --- Makefile.am | 4 ++-- configure.ac | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 65a1b121..0506256a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -53,7 +53,7 @@ check-valgrind-recursive: update-changelog: python $(srcdir)/gen-changelog.py > $(srcdir)/ChangeLog -TARBALL = $(PACKAGE_NAME)-$(VERSION).tar.gz +TARBALL = $(PACKAGE_NAME)-$(VERSION).tar.xz $(PACKAGE_NAME)-$(VERSION).tar.gz RELEASED_BRANCH = master $(TARBALL): distcheck @@ -86,7 +86,7 @@ tag-and-all: distcheck check-self-compare # the default for GZIP_ENV is --best, which is pretty slow for check runs # distcheck-fast therefore compresses with --fast instead distcheck-fast: - $(MAKE) distcheck GZIP_ENV="--fast" + $(MAKE) distcheck GZIP_ENV="--fast" XZ_OPT="-0" # This makes us compare libabigail.so against its own ABIXML # representation. It's super slow (more than 5 minutes on one of my diff --git a/configure.ac b/configure.ac index 5aafed37..a2e5b33d 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,7 @@ dnl This one is to be able to run "make check-valgrind" dnl and have unit tests run under der Valgrind. m4_include([autoconf-archive/ax_valgrind_check.m4]) -AM_INIT_AUTOMAKE([1.11.1 foreign subdir-objects tar-ustar parallel-tests]) +AM_INIT_AUTOMAKE([1.11.1 foreign subdir-objects dist-xz tar-ustar parallel-tests]) AM_MAINTAINER_MODE([enable]) AM_SILENT_RULES([yes]) -- 2.38.1