From: Sam James <sam@gentoo.org>
To: libabigail@sourceware.org
Cc: Sam James <sam@gentoo.org>
Subject: [PATCH] configure.ac: add dist-xz
Date: Tue, 8 Nov 2022 07:35:03 +0000 [thread overview]
Message-ID: <20221108073503.2609200-1-sam@gentoo.org> (raw)
On master at 9db716e3b15912b7162def1faa704eb7823bbf34:
.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
xz is quite a common format for software to be distributed
in nowadays because of its size reductions.
Signed-off-by: Sam James <sam@gentoo.org>
---
ChangeLog | 8 ++++++++
Makefile.am | 4 ++--
configure.ac | 2 +-
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 33944561..f7f8d6f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-11-08 Sam James <sam@gentoo.org>
+
+ build: Create an xz distribution tarball in addition to gzip.
+
+ * 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.
+
2022-09-24 Dodji Seketeli <dodji@redhat.com>
ir: Avoid cancelling a "confirmed" propagated canonical type
diff --git a/Makefile.am b/Makefile.am
index 65a1b121..a0310368 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
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
next reply other threads:[~2022-11-08 7:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-08 7:35 Sam James [this message]
2022-11-08 8:04 ` Sam James
2022-11-17 10:39 ` Dodji Seketeli
2022-11-17 16:22 ` Sam James
2022-11-18 12:10 ` Dodji Seketeli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221108073503.2609200-1-sam@gentoo.org \
--to=sam@gentoo.org \
--cc=libabigail@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).