[git] gnupg-doc - branch, master, updated. fd06846e220ad3acb726d72e71580615cfbc24ca

by Justus Winter cvs at cvs.gnupg.org
Tue Mar 14 13:00:45 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GnuPG website and other docs".

The branch, master has been updated
       via  fd06846e220ad3acb726d72e71580615cfbc24ca (commit)
      from  d60fbd8f8c3c19dced975f7b707bbd10eadffe11 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fd06846e220ad3acb726d72e71580615cfbc24ca
Author: Justus Winter <justus at g10code.com>
Date:   Tue Mar 14 13:00:40 2017 +0100

    jenkins: specialized gpgme build directories for targets

diff --git a/misc/jenkins/README.org b/misc/jenkins/README.org
index d5bb144..3cb7b84 100644
--- a/misc/jenkins/README.org
+++ b/misc/jenkins/README.org
@@ -42,6 +42,19 @@ and a build tree at
   $ make
   $ make check
 
+and specialized build trees, e.g. for the sanitizer target at
+
+  $ mkdir $HOME/src/gpgme-for-gnupgs-tests/obj-sanitizer
+  $ cd $HOME/src/gpgme-for-gnupgs-tests/obj-sanitizer
+  $ export PATH=$HOME/prefix/sanitizer/bin:$PATH
+  $ ../configure --enable-maintainer-mode \
+      --enable-languages="cpp qt" \
+     CFLAGS="-fsanitize=undefined -fsanitize=address" \
+     CXXFLAGS="-fsanitize=undefined -fsanitize=address"
+  $ make
+  $ make check
+
+
 and a w32 build tree at
 
   $HOME/src/gpgme-for-gnupgs-tests/obj.w32
diff --git a/misc/jenkins/bin/build.bash b/misc/jenkins/bin/build.bash
index 7fefe93..e378704 100755
--- a/misc/jenkins/bin/build.bash
+++ b/misc/jenkins/bin/build.bash
@@ -140,7 +140,12 @@ test_environment="LD_LIBRARY_PATH=$(pwd)/obj/src/.libs:$ORIGINAL_PREFIX/lib"
 
 # See if we have a GPGME checkout for the tesets.
 xtest_gpgme_srcdir="$HOME/src/gpgme-for-gnupgs-tests"
-if [ -d "$xtest_gpgme_srcdir/obj" ]; then
+if [ -d "$xtest_gpgme_srcdir/obj-$XTARGET" ]; then
+    # Some targets, like the sanitizer target, require a custom
+    # version of GPGME.
+    export XTEST_GPGME_SRCDIR="$xtest_gpgme_srcdir"
+    export XTEST_GPGME_BUILDDIR="$xtest_gpgme_srcdir/obj-$XTARGET"
+elif [ -d "$xtest_gpgme_srcdir/obj" ]; then
     export XTEST_GPGME_SRCDIR="$xtest_gpgme_srcdir"
     export XTEST_GPGME_BUILDDIR="$xtest_gpgme_srcdir/obj"
 fi

-----------------------------------------------------------------------

Summary of changes:
 misc/jenkins/README.org     | 13 +++++++++++++
 misc/jenkins/bin/build.bash |  7 ++++++-
 2 files changed, 19 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The GnuPG website and other docs
http://git.gnupg.org




More information about the Gnupg-commits mailing list