[COMMITTED] configure: Don't use valgrind and sanitize-undefined for make distcheck

Message ID 1651534976-19190-1-git-send-email-mark@gnu.wildebeest.org
State Committed
Headers
Series [COMMITTED] configure: Don't use valgrind and sanitize-undefined for make distcheck |

Commit Message

Mark Wielaard May 2, 2022, 11:42 p.m. UTC
  From: Mark Wielaard <mark@klomp.org>

make distcheck would always run with --enable-valgrind and
--enable-sanitize-undefined. Assuming the maintainer would run this just
before doing a release. But this makes distcheck really, really, really
slow. And we have various buildbots now that run various combinations
of valgrind, undefined and/or address sanitizer over every commit now.

This make make distcheck "fast" again.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 ChangeLog   | 5 +++++
 Makefile.am | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Patch

diff --git a/ChangeLog b/ChangeLog
index 77173d9..f1a14b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@ 
+2022-05-02  Mark Wielaard  <mark@klomp.org>
+
+	* Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Remove
+	--enable-valgrind --enable-sanitize-undefined.
+
 2022-04-25  Mark Wielaard  <mark@klomp.org>
 
 	* configure.ac (AC_INIT): Set version to 0.187.
diff --git a/Makefile.am b/Makefile.am
index 9c47afa..8643312 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,7 +38,6 @@  EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \
 # Run all tests under valgrind.
 AM_DISTCHECK_CONFIGURE_FLAGS = \
 	--libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\
-	--enable-valgrind --enable-sanitize-undefined \
 	CC="$(CC)"
 
 distcheck-hook: