From: Steven Rostedt <rostedt@goodmis.org>
To: Linux Trace Devel <linux-trace-devel@vger.kernel.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Subject: [PATCH] trace-cmd: Add build message if the best compression algorithm is not avaiable
Date: Thu, 24 Feb 2022 14:24:40 -0500 [thread overview]
Message-ID: <20220224142440.3d5dbf83@gandalf.local.home> (raw)
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>
If the best compression package is not available at build time, give a
message stating so. This can help users know that hey should install the
compression developer package.
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
Depends on: https://lore.kernel.org/all/YhOVEG2AjVPJEw0q@breakpoint.cc/
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index b4b08b8858aa..3009c2d74592 100644
--- a/Makefile
+++ b/Makefile
@@ -315,6 +315,10 @@ LIBZSTD_LDLAGS = $(shell sh -c "$(PKG_CONFIG) --libs libzstd")
CFLAGS += -DHAVE_ZSTD
ZSTD_INSTALLED=1
$(info Have ZSTD compression support)
+else
+$(info *************************************************************)
+$(info ZSTD package not found, best compression algorithm not in use)
+$(info *************************************************************)
endif
export LIBZSTD_CFLAGS LIBZSTD_LDLAGS ZSTD_INSTALLED
--
2.34.1
reply other threads:[~2022-02-24 19:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220224142440.3d5dbf83@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=bigeasy@linutronix.de \
--cc=linux-trace-devel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.