summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2018-12-07 11:05:18 +0100
committerOliver Smith <osmith@sysmocom.de>2018-12-07 11:05:18 +0100
commitf0eeca5cb3bfc2fed819eb46c7b34dd8879bfa4e (patch)
treea90342f304687b2ffec3c37b494f1471e0348818
parent6d2cea2d1d1448ba551eaadef9c833e816c4d5b8 (diff)
jenkins.sh: disable parallel build
Avoid a race condition that causes the build to fail on Jenkins with: asn1p_y.y: In function 'asn1p_parse': asn1p_y.y:357:13: error: 'param' undeclared (first use in this function) *(void **)param = $1; ^~~~~ Change-Id: Ib853a93bffc4cd78d4f08624fb1e56772ce68ce5
-rwxr-xr-xcontrib/jenkins.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 7d68736..dbdfda6 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -14,7 +14,10 @@ set -x
autoreconf --install --force
./configure --enable-werror
-$MAKE $PARALLEL_MAKE
+
+# Parallel make is disabled due to a race condition. On Jenkins, it often
+# aborts the build with: "asn1p_y.y:357:13: error: 'param' undeclared"
+$MAKE -j1
$MAKE distcheck \
|| cat-testlogs.sh