Files
buildroot/package/lttng-libust/0001-configure.ac-add-disable-tests.patch
Devin Steffler 7060cc01f1 package/lttng-libust: bump to version 2.14.0
The changelog for lttng-libust 2.14.0 can be found here:

  https://git.lttng.org/?p=lttng-ust.git;a=blob;f=ChangeLog;h=1ddf7956cd80674f8bb0cec4b9362a9b1bf943b4;hb=refs/heads/stable-2.14

Rebased patch 0001 due to upstream commit:

   https://git.lttng.org/?p=lttng-ust.git;a=commitdiff;h=464c475658ae29039b3b9e769b5b02195688a94a

Updated license files and hashes due to upstream commit:

   https://git.lttng.org/?p=lttng-ust.git;a=commit;h=e03d7c66c57bf268b87296566a5160039f35ccfb

Added dependency to host-python-setuptools due to upstream commit:

   https://git.lttng.org/?p=lttng-ust.git;a=commitdiff;h=cb80e2fb106d56b4a0ae9c0480a368572f4d0d35

Signed-off-by: Devin Steffler <devin.buildroot@gmail.com>
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Bernd:
 - bumped to 2.14.0, updated link to changelog
 - numerous fixes]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-01-01 15:50:11 +01:00

62 lines
1.9 KiB
Diff

From a1f8509283ad29b5144bda6f6dba9f5eb7165adc Mon Sep 17 00:00:00 2001
From: Norbert Lange <nolange79@gmail.com>
Date: Thu, 23 Dec 2021 21:56:46 +0100
Subject: [PATCH] configure.ac: add --disable-tests
Add configure option to disable tests.
Upstream is not likely to accept it, see lttng-tools package.
Signed-off-by: Norbert Lange <nolange79@gmail.com>
[Bernd: rebased for version 2.14.0]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Makefile.am | 5 ++++-
configure.ac | 6 ++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 9ab93ccd..8a1c1dca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,9 +9,12 @@ SUBDIRS = \
src \
tools \
doc \
- tests \
extras
+if ENABLE_TESTS
+SUBDIRS += tests
+endif
+
dist_doc_DATA = \
ChangeLog \
LICENSE \
diff --git a/configure.ac b/configure.ac
index b6254228..fe5f2700 100644
--- a/configure.ac
+++ b/configure.ac
@@ -371,6 +371,11 @@ AE_FEATURE([python-agent],[build the LTTng UST Python agent])
AE_FEATURE_DEFAULT_ENABLE
AE_FEATURE([examples],[Do not build and install examples])
+# Build the tests
+# Enabled by default
+AE_FEATURE_DEFAULT_ENABLE
+AE_FEATURE([tests],[Do not build tests])
+
# Man pages
# Enabled by default
AE_FEATURE_DEFAULT_ENABLE
@@ -565,6 +570,7 @@ AC_DEFINE([LTTNG_UST_CTL_LIB_SONAME_MAJOR], [ust_ctl_lib_version_current], [Majo
## ##
AM_CONDITIONAL([ENABLE_EXAMPLES], AE_IS_FEATURE_ENABLED([examples]))
+AM_CONDITIONAL([ENABLE_TESTS], AE_IS_FEATURE_ENABLED([tests]))
AM_CONDITIONAL([ENABLE_GEN_TP_EXAMPLES], [test "x$PYTHON" != "x"])
AM_CONDITIONAL([ENABLE_JAVA_AGENT], AE_IS_FEATURE_ENABLED([java-agent-jul]) || AE_IS_FEATURE_ENABLED([java-agent-log4j]) || AE_IS_FEATURE_ENABLED([java-agent-log4j2]))
AM_CONDITIONAL([ENABLE_JAVA_AGENT_WITH_JUL], AE_IS_FEATURE_ENABLED([java-agent-jul]))
--
2.34.1