[git] gnupg-doc - branch, master, updated. 8164268fb5de8c83926cf65e4d5ad00e1c194d57

by Justus Winter cvs at cvs.gnupg.org
Wed Jun 21 16:34:06 CEST 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  8164268fb5de8c83926cf65e4d5ad00e1c194d57 (commit)
      from  03efef1cdae1c03e0e167edee1aeaa0ecefb9f8b (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 8164268fb5de8c83926cf65e4d5ad00e1c194d57
Author: Justus Winter <justus at g10code.com>
Date:   Wed Jun 21 16:34:00 2017 +0200

    jenkins: restrict the number of parallel jobs

diff --git a/misc/jenkins/bin/build.bash b/misc/jenkins/bin/build.bash
index 2390fb6..af492c1 100755
--- a/misc/jenkins/bin/build.bash
+++ b/misc/jenkins/bin/build.bash
@@ -7,6 +7,7 @@ renice -n 10 -p $$
 
 # Configuration.
 MAKE=make
+NPROCS=2
 
 XTARGET="${XTARGET:-native}"
 
@@ -15,6 +16,9 @@ case "$(uname)" in
     OpenBSD)
 	MAKE=gmake
 	;;
+    Darwin)
+	NPROCS="$(sysctl -n hw.ncpu)"
+	;;
 esac
 
 if [ "$XTARGET" = w32 ]; then
@@ -81,10 +85,7 @@ git clean -fdx
 ./autogen.sh
 
 # Parallel jobs.
-MAKEFLAGS="-j6"
-
-# Parallel tests with our test suite.
-export TESTFLAGS="--parallel"
+MAKEFLAGS="-j$NPROCS"
 
 SCANBUILD=
 if [ "$(uname)" = Linux ] \
@@ -148,6 +149,9 @@ case "$JOB_NAME" in
 
 	# Disable NTBTLS for now until it is actually mature and used.
 	CONFIGUREFLAGS="$CONFIGUREFLAGS --disable-ntbtls"
+
+	# Parallel tests with our test suite.
+	export TESTFLAGS="--parallel=$NPROCS"
         ;;
 esac
 

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

Summary of changes:
 misc/jenkins/bin/build.bash | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)


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




More information about the Gnupg-commits mailing list