gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: build: add buildting option conversion f


From: Admin
Subject: [gnunet] branch master updated: build: add buildting option conversion for meson coverage targets
Date: Mon, 02 Jun 2025 07:09:40 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new aacf3f17e build: add buildting option conversion for meson coverage 
targets
aacf3f17e is described below

commit aacf3f17e7391dca8b36288ac5cfad5b2c9855f5
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Jun 2 07:09:34 2025 +0200

    build: add buildting option conversion for meson coverage targets
---
 configure | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index f7047b86b..3f9298613 100755
--- a/configure
+++ b/configure
@@ -2,7 +2,7 @@
 
 pkg_name="gnunet"
 pkg_default_features=""
-pkg_optional_features="experimental monolith testbed exclude-manpages 
malicious benchmarks poisoning nse-histogram disable-autostart install-rpath 
heap-statistics logging"
+pkg_optional_features="experimental monolith testbed exclude-manpages 
malicious benchmarks poisoning nse-histogram disable-autostart install-rpath 
heap-statistics logging coverage"
 pkg_optional_dependencies=""
 
 # DO NOT EDIT BELOW THIS LINE
@@ -187,7 +187,12 @@ mesonfeatopts=""
 for feat in $pkg_optional_features $pkg_default_features; do
   ft=$(echo $feat | tr - _)
        eval "echo \"enable_$ft=\${enable_$ft}\" >> Makefile"
-  eval "mesonfeatopts=\"$mesonfeatopts -D$feat=\${enable_$ft}\""
+  if [ "coverage" = $feat ]; then
+    mfeat="b_$feat"
+  else
+    mfeat=$feat
+  fi
+  eval "mesonfeatopts=\"$mesonfeatopts -D$mfeat=\${enable_$ft}\""
 done
 for dep in $pkg_optional_dependencies; do
        eval "echo \"with_$dep=\${with_$dep}\" >> Makefile"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]