mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Felix Mellmann <flix.ptxdist@benfm.de>
To: ptxdist@pengutronix.de
Cc: Felix Mellmann <flix.ptxdist@benfm.de>
Subject: [ptxdist] [PATCH] libxslt: Allow to compile libxslt with profiling support.
Date: Fri,  1 Oct 2021 11:11:05 +0200	[thread overview]
Message-ID: <20211001091104.921604-1-flix.ptxdist@benfm.de> (raw)

 As python3-lxml requires this feature, the dependency was added as well.

Signed-off-by: Felix Mellmann <flix.ptxdist@benfm.de>
---
 rules/libxslt.in      | 4 ++++
 rules/libxslt.make    | 2 +-
 rules/python3-lxml.in | 1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/rules/libxslt.in b/rules/libxslt.in
index b2f26d0c8..e3dd0b920 100644
--- a/rules/libxslt.in
+++ b/rules/libxslt.in
@@ -34,6 +34,10 @@ config LIBXSLT_DEBUG
 	bool
 	prompt "Add the debugging support"
 
+config LIBXSLT_PROFILER
+	bool
+	prompt "Add the profiling support"
+
 comment "Install Components"
 
 config LIBXSLT_LIBXSLT
diff --git a/rules/libxslt.make b/rules/libxslt.make
index ce13a7d7e..7ef7d75b4 100644
--- a/rules/libxslt.make
+++ b/rules/libxslt.make
@@ -48,7 +48,7 @@ LIBXSLT_AUTOCONF := \
 	--$(call ptx/wwo, PTXCONF_LIBXSLT_DEBUG)-debug \
 	--$(call ptx/wwo, PTXCONF_LIBXSLT_DEBUG)-mem-debug \
 	--$(call ptx/wwo, PTXCONF_LIBXSLT_DEBUG)-debugger \
-	--without-profiler \
+	--$(call ptx/wwo, PTXCONF_LIBXSLT_PROFILER)-profiler \
 	--$(call ptx/wwo, PTXCONF_LIBXSLT_PLUGINS)-plugins
 
 # ----------------------------------------------------------------------------
diff --git a/rules/python3-lxml.in b/rules/python3-lxml.in
index cf7eeb963..fa091d184 100644
--- a/rules/python3-lxml.in
+++ b/rules/python3-lxml.in
@@ -7,6 +7,7 @@ config PYTHON3_LXML
 	select LIBXML2_SCHEMAS
 	select LIBXSLT
 	select LIBXSLT_LIBEXSLT
+	select LIBXSLT_PROFILER
 	prompt "lxml"
 	help
 	  lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries.
-- 
2.25.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


             reply	other threads:[~2021-10-01  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01  9:11 Felix Mellmann [this message]
2021-10-01 10:27 ` Alexander Dahl
2021-10-20  9:39 ` [ptxdist] [APPLIED] " Michael Olbrich

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=20211001091104.921604-1-flix.ptxdist@benfm.de \
    --to=flix.ptxdist@benfm.de \
    --cc=ptxdist@pengutronix.de \
    /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